-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* update CI for Python3.12 * update CI for Python3.12 * update CI for Python3.12 * update CI for Python3.12 * update CI for Python3.12 * separate Python 3.12 CI testing
- Loading branch information
Showing
2 changed files
with
58 additions
and
3 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
--- | ||
name: Test Python312 | ||
|
||
on: workflow_dispatch | ||
|
||
jobs: | ||
build: | ||
name: ${{ matrix.os }}-Python${{ matrix.python-version }} | ||
runs-on: ${{ matrix.os }} | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
os: [ubuntu-latest, macos-latest, windows-latest] | ||
python-version: ['3.12'] | ||
|
||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
|
||
- name: Setup Python | ||
uses: actions/setup-python@v5 | ||
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\Scripts\activate.bat | ||
- name: Install acro and pytest | ||
run: python -m pip install . pytest | ||
|
||
- name: Run pytest | ||
run: python -m pytest . | ||
... |