8000 Merge pull request #4 from prius/dev · fspv/python-leetcode@1610761 · GitHub
[go: up one dir, main page]

Skip to content

Commit 1610761

Browse files
authored
Merge pull request #4 from prius/dev
Added pytest testing module
2 parents 61f111e + 8bc6b01 commit 1610761

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

.github/workflows/pytest.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
---
2+
name: Test with pytest
3+
on: push
4+
jobs:
5+
pytest:
6+
name: Test with pytest
78FE 7+
runs-on: ubuntu-latest
8+
steps:
9+
- uses: actions/checkout@master
10+
- name: Set up Python 3.9
11+
uses: actions/setup-python@v1
12+
with:
13+
python-version: 3.9
14+
- name: Install requirements
15+
run: pip install -r requirements.txt
16+
- name: Install pytest
17+
run: pip install pytest
18+
- name: Run tests
19+
run: pytest

0 commit comments

Comments
 (0)
0