V2.1 #69
This file contains hidden or 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: tox | |
| on: | |
| push: | |
| branches: ["main", "dev"] | |
| pull_request: | |
| branches: ["dev","main"] | |
| env: | |
| MODE: GIT_ACTIONS_DEV | |
| DJANGO_SETTINGS_MODULE: test_app.test_settings | |
| jobs: | |
| testPy37-39: | |
| runs-on: ubuntu-22.04 | |
| strategy: | |
| matrix: | |
| python-version: [ '3.7', '3.8', '3.9' ] | |
| name: Python ${{ matrix.python-version }} Run | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - uses: actions/setup-python@v6 | |
| with: | |
| python-version: ${{ matrix.python-version }} | |
| - name: Install setuptools | |
| continue-on-error: true | |
| run: | | |
| python -m pip install --upgrade pip | |
| python -m pip install setuptools | |
| - name: Install tox | |
| run: | | |
| python -m pip install --upgrade pip | |
| pip install tox | |
| - name: Run tox | |
| run: tox run --conf tox_old.ini | |
| tests310-314: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| python-version: [ '3.10', '3.11', '3.12', '3.13', '3.14' ] | |
| name: Python ${{ matrix.python-version }} Run | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - uses: actions/setup-python@v6 | |
| with: | |
| python-version: ${{ matrix.python-version }} | |
| - name: Install tox | |
| run: | | |
| python -m pip install --upgrade pip | |
| pip install tox | |
| - name: Run tox | |
| run: tox run --conf tox.ini |