Run nox -s test
on GitHub actions
This commit is contained in:
parent
3e3182353e
commit
62f7a79abf
2 changed files with 25 additions and 0 deletions
24
.github/workflows/tests.yml
vendored
Normal file
24
.github/workflows/tests.yml
vendored
Normal file
|
@ -0,0 +1,24 @@
|
|||
name: tests
|
||||
on: push
|
||||
jobs:
|
||||
tests:
|
||||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
matrix:
|
||||
python-version: ["3.9", "3.10", "3.11", "3.12"]
|
||||
name: test-${{ matrix.python-version }}
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/setup-python@v5
|
||||
with:
|
||||
python-version: ${{ matrix.python-version }}
|
||||
architecture: x64
|
||||
|
||||
- run: python --version
|
||||
- run: pip --version
|
||||
|
||||
# The following pinned dependencies must be updated manually
|
||||
- run: pip install nox==2024.4.15
|
||||
- run: pip install poetry==1.8.3
|
||||
|
||||
- run: nox -s test-${{ matrix.python-version }}
|
|
@ -8,6 +8,7 @@ The goal of the `lalib` project is to create
|
|||
by reading and writing code.
|
||||
|
||||
|
||||
[](https://github.com/webartifex/lalib/actions/workflows/tests.yml)
|
||||
[](https://github.com/psf/black)
|
||||
[](https://mypy-lang.org/)
|
||||
[](https://github.com/astral-sh/ruff)
|
||||
|
|
Loading…
Reference in a new issue