Skip to content

Commit

Permalink
update CI for Python3.12
Browse files Browse the repository at this point in the history
  • Loading branch information
rpreen committed Aug 16, 2024
1 parent c8e6aaa commit f8b40cc
Showing 1 changed file with 15 additions and 3 deletions.
18 changes: 15 additions & 3 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, macos-latest, windows-latest]
python-version: ["3.8", "3.9", "3.10", "3.11"]
python-version: ['3.8', '3.9', '3.10', '3.11', '3.12']

steps:
- name: Checkout
Expand All @@ -28,9 +28,21 @@ jobs:
with:
python-version: ${{ matrix.python-version }}

- name: venv activate Ubuntu/macOS
if: ${{ matrix.os == 'ubuntu-latest' || matrix.os == 'macos-latest' }}
run: |
python -m venv venv-acro
source ./venv-acro/bin/activate
- name: venv activate Windows
if: ${{ matrix.os == 'windows-latest' }}
run: |
python -m venv venv-acro
venv-acro\env\Scripts\activate.bat
- name: Install acro and pytest
run: pip install . pytest
run: python -m pip install . pytest

- name: Run pytest
run: pytest .
run: python -m pytest .
...

0 comments on commit f8b40cc

Please sign in to comment.