Skip to content

feat: codegen

feat: codegen #20

Workflow file for this run

# This workflow will install Python dependencies, run tests and lint with a single version of Python
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python
name: TestAll
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
permissions:
contents: read
jobs:
test:
name: "test ${{ matrix.py }} - ${{ matrix.os }}"
runs-on: "${{ matrix.os }}"
strategy:
fail-fast: false
matrix:
os:
# - ubuntu-latest
- ubuntu-20.04
# - windows
# - MacOs
py:
- "3.11"
- "3.10"
# - "3.9"
# - "3.8"
# - "3.7"
# - "3.6"
steps:
- name: Setup python for test ${{ matrix.py }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.py }}
- uses: actions/checkout@v3
- run: python -m pip install tox tox-gh
- name: Setup test suite
run: python -m tox run
- name: Run test suite
run: python -m tox run --skip-pkg-install
env:
PYTEST_ADDOPTS: "--durations=20"