Create pytest.yml

This commit is contained in:
sosokker 2023-07-09 22:49:24 +07:00 committed by GitHub
parent f4172bd018
commit 7270fd2a1d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

25
.github/workflows/pytest.yml vendored Normal file
View File

@ -0,0 +1,25 @@
name: Python pytest
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: 3.11
- name: Run pytest
run: pytest tests/