mirror of
https://github.com/Sosokker/sudoku-terminal-game.git
synced 2025-12-19 13:44:05 +01:00
Create pytest.yml
This commit is contained in:
parent
f4172bd018
commit
7270fd2a1d
25
.github/workflows/pytest.yml
vendored
Normal file
25
.github/workflows/pytest.yml
vendored
Normal 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/
|
||||||
Loading…
Reference in New Issue
Block a user