Add ci for tests cause ticks are cool

This commit is contained in:
544146
2023-09-16 04:46:50 +01:00
parent 5973c12f51
commit 6600f61eb8
+31
View File
@@ -0,0 +1,31 @@
name: Pytest
on:
push:
branches:
- main
pull_request:
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ['3.10']
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: Run pytest with -vv
run: pytest -vv