Skip to content

Commit

Permalink
tests: update settings
Browse files Browse the repository at this point in the history
  • Loading branch information
adbar committed Apr 24, 2024
1 parent 1eaeceb commit 6ae5da0
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 19 deletions.
22 changes: 5 additions & 17 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
fail-fast: false
matrix:
os: [ubuntu-latest]
python-version: ['3.8', '3.9', '3.10', '3.11', '3.12']
python-version: ['3.8', '3.9', '3.10', '3.11', '3.12', '3.13-dev']
include:
# custom tests
# other OS version necessary
Expand All @@ -27,18 +27,14 @@ jobs:
python-version: '3.7'
# common versions on MacOS
- os: macos-latest
python-version: '3.7'
python-version: '3.10'
- os: macos-latest
python-version: '3.8'
python-version: '3.12'
# common versions on Windows
- os: windows-latest
python-version: '3.7'
experimental: true
allowed_failure: true
python-version: '3.10'
- os: windows-latest
python-version: '3.8'
experimental: true
allowed_failure: true
python-version: '3.12'

steps:
# Python and pip setup
Expand Down Expand Up @@ -73,14 +69,6 @@ jobs:
if: matrix.python-version != '3.6' && matrix.python-version != '3.7'
run: pip install -r training/requirements.txt

- name: Install dependencies (legacy versions)
if: matrix.python-version == '3.6' || matrix.python-version == '3.7'
run: |
python -m pip install --upgrade flake8
python -m pip install --upgrade black
python -m pip install --upgrade mypy
python -m pip install --upgrade pytest pytest-cov
# tests
- name: Lint with flake8
run: |
Expand Down
4 changes: 2 additions & 2 deletions requirements-dev.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
black==24.3.0
black==24.4.1
flake8==7.0.0
mypy==1.9.0
mypy==1.10.0
pytest==8.1.1
pytest-cov==5.0.0

0 comments on commit 6ae5da0

Please sign in to comment.