This commit is contained in:
parent
d23818e318
commit
6e69ea036f
1 changed files with 19 additions and 0 deletions
19
.forgejo/workflows/test.yml
Normal file
19
.forgejo/workflows/test.yml
Normal file
|
@ -0,0 +1,19 @@
|
|||
on: [push]
|
||||
jobs:
|
||||
run-pytest:
|
||||
runs-on: docker
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
|
||||
- uses: actions/setup-python@v5
|
||||
with:
|
||||
python-version: '3.11.2'
|
||||
cache: 'poetry'
|
||||
|
||||
- name: Install poetry
|
||||
run: |
|
||||
apt install pipx
|
||||
pipx install poetry
|
||||
|
||||
- run: poetry install
|
||||
- run: poetry run pytest
|
Loading…
Reference in a new issue