-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
github: Add workflow to test on non-free operating systems.
- Loading branch information
Benjamin Moody
committed
Aug 2, 2024
1 parent
d41dc95
commit a963734
Showing
1 changed file
with
35 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
on: | ||
pull_request: | ||
push: | ||
branches: | ||
- main | ||
|
||
jobs: | ||
test-basic: | ||
strategy: | ||
matrix: | ||
include: | ||
- os: macos-14 | ||
python-version: "3.10" | ||
- os: windows-2022 | ||
python-version: "3.11" | ||
|
||
runs-on: ${{ matrix.os }} | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
with: | ||
submodules: true | ||
|
||
- uses: actions/setup-python@v5 | ||
with: | ||
python-version: ${{ matrix.python-version }} | ||
|
||
- name: Build plibflac | ||
run: pip install -v -v . | ||
|
||
- name: Install test dependencies | ||
run: pip install pytest | ||
|
||
- name: Run test suite | ||
run: python -m pytest --verbose tests |