This commit is contained in:
@@ -18,7 +18,7 @@ jobs:
|
||||
python-version: "3.10"
|
||||
|
||||
- name: Install dependencies
|
||||
run: pip install -r app/requirements.txt
|
||||
run: pip install -r requirements.txt
|
||||
|
||||
- name: Run tests
|
||||
run: pytest -v
|
4
pytest.ini
Normal file
4
pytest.ini
Normal file
@@ -0,0 +1,4 @@
|
||||
[pytest]
|
||||
testpaths = tests
|
||||
python_files = test_*.py
|
||||
python_functions = test_*
|
0
src/mycode.py
Normal file
0
src/mycode.py
Normal file
3
tests/test_smoke.py
Normal file
3
tests/test_smoke.py
Normal file
@@ -0,0 +1,3 @@
|
||||
# tests/test_smoke.py
|
||||
def test_smoke():
|
||||
assert True
|
Reference in New Issue
Block a user