-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Run tests on latest versions of Python (#38)
- Loading branch information
1 parent
ece61dc
commit 26ff78d
Showing
1 changed file
with
33 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,33 @@ | ||
name: Test the library with latest python | ||
|
||
on: | ||
workflow_dispatch: | ||
|
||
jobs: | ||
run_tests: | ||
name: Run tests | ||
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
python-version: ["3.12", "3.13"] | ||
steps: | ||
- name: Checkout π | ||
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 #v4.1.1 | ||
|
||
- name: Set up Python ${{ matrix.python-version }} π | ||
uses: actions/setup-python@65d7f2d534ac1bc67fcd62888c5f4f3d2cb2b236 #v4.7.1 | ||
with: | ||
python-version: ${{ matrix.python-version }} | ||
allow-prereleases: true | ||
|
||
- name: Install Poetry and pre-commit π | ||
run: pip install poetry pre-commit | ||
|
||
- name: Install dependencies π | ||
run: poetry install | ||
|
||
- name: Run pre-commit π€ | ||
run: pre-commit run --all-files | ||
|
||
- name: Run tests π | ||
run: poetry run invoke test |