Skip to content

Commit ecaf8e6

Browse files
committed
Changed unit-test.yml also to make sure that tests are run in venv
1 parent 6c679af commit ecaf8e6

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

.github/workflows/unit-test.yml

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -17,19 +17,16 @@ jobs:
1717
steps:
1818
- uses: actions/checkout@v3
1919

20-
- name: Install package
21-
run: |
22-
./dev-setup.sh
23-
2420
- name: Install xmllint
2521
run: |
2622
apt-get update
2723
apt-get install -y libxml2-utils bc
2824
29-
30-
- name: Run unit tests with coverage
25+
- name: Install package and run unit tests with coverage
3126
id: extract_coverage
27+
shell: bash
3228
run: |
29+
source ./dev-setup.sh
3330
pytest test/unit -s --cov=nodescraper --cov-report=xml --cov-report=term --cov-fail-under=70 --maxfail=1 --disable-warnings -v
3431
3532
- name: Print coverage

0 commit comments

Comments
 (0)