test CI
This commit is contained in:
parent
07af5a7d18
commit
7ed9f85348
1 changed files with 33 additions and 0 deletions
33
.forgejo/workflows/ci.yaml
Normal file
33
.forgejo/workflows/ci.yaml
Normal file
|
@ -0,0 +1,33 @@
|
|||
on: [push]
|
||||
|
||||
jobs:
|
||||
test:
|
||||
runs-on: docker
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/setup-python@v5
|
||||
with:
|
||||
python-version: "3.12"
|
||||
- run: pip install tox
|
||||
- run: tox
|
||||
|
||||
mypy:
|
||||
runs-on: docker
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/setup-python@v5
|
||||
with:
|
||||
python-version: "3.12"
|
||||
- run: pip install tox
|
||||
- run: tox -e mypy
|
||||
|
||||
coverage:
|
||||
runs-on: docker
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/setup-python@v5
|
||||
with:
|
||||
python-version: "3.12"
|
||||
- run: pip install tox
|
||||
- run: tox -e coverage
|
||||
|
Loading…
Reference in a new issue