Skip to content

Commit

Permalink
Align tox.ini with github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
protoroto committed Aug 28, 2023
1 parent bba13c9 commit aefb61f
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
strategy:
matrix:
python-version: ["3.11.x"]
toxenv: [ruff, isort, black, pypi-description, docs, towncrier]
toxenv: [ruff, isort, black, pypi-description, towncrier]
steps:
- uses: actions/checkout@v3
with:
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.11", "3.10", "3.9"]
python-version: [3.11.x, 3.10.x, 3.9, 3.8]
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
Expand All @@ -26,9 +26,9 @@ jobs:
uses: actions/cache@v3
with:
path: .tox
key: ${{ runner.os }}-tox-${{ format('{{py{0}}}', matrix.python-version) }}-${{ hashFiles('setup.cfg') }}
key: ${{ runner.os }}-tox-${{ format('py', matrix.python-version) }}-${{ hashFiles('setup.cfg') }}
restore-keys: |
${{ runner.os }}-tox-${{ format('{{py{0}}}', matrix.python-version) }}-
${{ runner.os }}-tox-${{ format('py', matrix.python-version) }}-
- name: Install dependencies
run: |
sudo apt-get install gettext
Expand Down
1 change: 1 addition & 0 deletions changes/71.bugfix
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Align tox.ini with github actions

0 comments on commit aefb61f

Please sign in to comment.