Stop referring to pkg_resources, removed check --deptree #108
Workflow file for this run
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: Tests | |
| on: | |
| push: | |
| branches: [ main ] | |
| pull_request: | |
| branches: [ main ] | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| python-version: ['3.10', '3.11', '3.12', '3.13'] | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-python@v5 | |
| with: | |
| python-version: ${{ matrix.python-version }} | |
| - run: | | |
| pip install -U pip tox | |
| git config --global user.name tester | |
| git config --global user.email tester@example.com | |
| - run: tox -e py | |
| - uses: codecov/codecov-action@v4 | |
| with: | |
| files: .tox/test-reports/coverage.xml | |
| test-eol: | |
| # EOL-ed versions of python are exercised on older linux distros | |
| # Testing against these versions will eventually be retired | |
| runs-on: ubuntu-20.04 | |
| strategy: | |
| matrix: | |
| python-version: ['3.7', '3.8', '3.9'] | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-python@v5 | |
| with: | |
| python-version: ${{ matrix.python-version }} | |
| - run: | | |
| pip install -U pip tox | |
| git config --global user.name tester | |
| git config --global user.email tester@example.com | |
| - run: tox -e py | |
| - uses: codecov/codecov-action@v4 | |
| with: | |
| files: .tox/test-reports/coverage.xml | |
| linters: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-python@v5 | |
| with: | |
| python-version: '3.13' | |
| - run: pip install -U pip tox | |
| - run: tox -e docs,style,security |