Skip to content

Commit effa400

Browse files
authored
Create tester.yml
1 parent b98a70a commit effa400

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

.github/workflows/tester.yml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: tester
2+
3+
on: push
4+
5+
jobs:
6+
test:
7+
runs-on: ubuntu-latest
8+
steps:
9+
- name: Checkout code
10+
uses: actions/checkout@v3
11+
12+
- name: Set up Python
13+
uses: actions/setup-python@v4
14+
with:
15+
python-version: '3.10'
16+
17+
- name: Install dependencies
18+
run: |
19+
python -m pip install --upgrade pip
20+
pip install pytest
21+
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
22+
23+
- name: Run tests
24+
run: python -m pytest tests.py

0 commit comments

Comments
 (0)