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

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

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'
cache: 'poetry'
- name: Install poetry
run: |
apt install pipx
pipx install poetry
- run: poetry install
- run: poetry run pytest