Skip to content

Commit 422c99d

Browse files
committed
fix(tests): update GitHub actions and re-enabled unit tests
1 parent 5c3c3f9 commit 422c99d

File tree

3 files changed

+2
-44
lines changed

3 files changed

+2
-44
lines changed

.github/workflows/pytest_unit.yml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,4 @@ jobs:
2929
pip install -r requirements.txt
3030
3131
- name: Run unit tests
32-
run: |
33-
export PYTHONPATH=src
34-
source ./venv/bin/activate
35-
pytest ./tests/unit -v
32+
run: PYTHONPATH=src ./venv/bin/python -m pytest ./tests/unit -v

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ requires-python = ">= 3.11" # older versions untested, but we use new features o
77
Homepage = "https://api.sfucsss.org/"
88

99
[tool.pytest.ini_options]
10-
pythonpath = "./src/"
10+
pythonpath = ["src"]
1111
log_cli = true
1212
log_cli_level = "INFO"
1313
testpaths = [

tests/wip/unit/test_dates.py

Lines changed: 0 additions & 39 deletions
This file was deleted.

0 commit comments

Comments
 (0)