[ci] add pytest workflow
Some checks failed
/ run-pytest (push) Failing after 10s

This commit is contained in:
SouthFox 2024-02-26 21:27:11 +08:00
parent d23818e318
commit 6e69ea036f

View 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