-
-
Notifications
You must be signed in to change notification settings - Fork 42
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Updated test workflow and added 3.13
- Loading branch information
1 parent
08d5b21
commit 9a0eeee
Showing
1 changed file
with
15 additions
and
9 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 |
---|---|---|
@@ -1,29 +1,35 @@ | ||
name: Test | ||
|
||
on: | ||
- pull_request | ||
pull_request: | ||
branches: | ||
- master | ||
- live | ||
push: | ||
branches: | ||
- master | ||
- live | ||
|
||
jobs: | ||
test: | ||
runs-on: ${{ matrix.os }} | ||
strategy: | ||
matrix: | ||
os: [ubuntu-latest] #windows-latest | ||
python-version: ['3.9', '3.10', '3.11', '3.12'] | ||
python-version: ['3.9', '3.10', '3.11', '3.12', '3.13'] | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: actions/checkout@v4 | ||
- name: Set up Python ${{ matrix.python-version }} | ||
uses: actions/setup-python@v2 | ||
uses: actions/setup-python@v5 | ||
with: | ||
python-version: ${{ matrix.python-version }} | ||
|
||
- name: Install dependencies | ||
run: | | ||
python -m pip install --upgrade pip | ||
pip install poetry | ||
curl -sSL https://install.python-poetry.org | python3 - | ||
poetry install | ||
poetry run pip install -e . | ||
poetry run pip install | ||
- name: Run tests | ||
run: poetry run pytest | ||
|
||
# TODO: add coverage as well |