refactorchange yamlencode/yamldecode to yaml_encode/yaml_decode and a… #6
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: test | |
on: | |
push: | |
branches: | |
- main | |
tags: | |
- "*" | |
pull_request: | |
branches: | |
- "*" | |
jobs: | |
build: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
fail-fast: false | |
matrix: | |
name: | |
- "linting" | |
- "ubuntu-py310" | |
include: | |
- name: "linting" | |
python: "3.10" | |
os: ubuntu-latest | |
tox_env: "lint" | |
- name: "ubuntu-py310" | |
python: "3.10" | |
os: ubuntu-latest | |
tox_env: "py310" | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up Python ${{ matrix.python }} | |
uses: actions/setup-python@v1 | |
with: | |
python-version: ${{ matrix.python }} | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip | |
pip install tox virtualenv | |
- name: Test build | |
run: "tox -e ${{ matrix.tox_env }}" |