diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 09361f4..aaca709 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -3,10 +3,10 @@ name: Python CI on: push: branches: - - master + - master pull_request: branches: - - '**' + - '**' jobs: run_tests: @@ -14,9 +14,9 @@ jobs: runs-on: ${{ matrix.os }} strategy: matrix: - os: [ ubuntu-20.04 ] - python-version: [ 3.8 ] - toxenv: [ py38, quality ] + os: [ubuntu-20.04] + python-version: [3.8, '3.8', '3.12'] + toxenv: [py38, quality, django42] steps: - uses: actions/checkout@v2 diff --git a/tox.ini b/tox.ini index 4e25818..f1c5cf3 100644 --- a/tox.ini +++ b/tox.ini @@ -1,18 +1,19 @@ [tox] -envlist = py38,quality +envlist = py{38, 312}quality [testenv] -allowlist_externals = - touch -deps = - -r requirements/test.txt -commands = - coverage run setup.py test - coverage report +allowlist_externals = + touch +deps = + -r requirements/test.txt +commands = + coverage run setup.py test + coverage report [testenv:quality] -deps = - -r requirements/test.txt -commands = - pycodestyle calc symmath tests - pylint calc symmath tests +deps = + -r requirements/test.txt +commands = + pycodestyle calc symmath tests + pylint calc symmath tests +