Skip to content

Commit 3e3e0c7

Browse files
clavedelunadrdavella
authored andcommitted
separate tests in CI
1 parent 4668619 commit 3e3e0c7

2 files changed

Lines changed: 5 additions & 4 deletions

File tree

‎.github/workflows/test.yml‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,10 +33,10 @@ jobs:
3333
run: pip install .
3434
- name: Install Dependencies
3535
run: pip install -r requirements/test.txt
36-
- name: Run pytest
37-
run: pytest -v --cov=codemodder
38-
- name: Report coverage
39-
run: coverage report -m --fail-under=95
36+
- name: Run unit tests
37+
run: pytest -v --cov-fail-under=95 --cov=codemodder tests --numprocesses auto
38+
- name: Run integration tests
39+
run: pytest -v integration_tests
4040
- name: Upload coverage reports to Codecov
4141
uses: codecov/codecov-action@v3
4242
env:

‎requirements/test.txt‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,5 @@ mock==5.1.*
44
pre-commit<4
55
pytest==7.4.*
66
pytest-cov~=4.1.0
7+
pytest-xdist==3.*
78
types-mock==5.1.*

0 commit comments

Comments
 (0)