Skip to content

Commit 7ffaccb

Browse files
EBR-98: adjust run-python-tests.yml
1 parent 274958d commit 7ffaccb

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

.github/workflows/run-python-tests.yml

+14
Original file line numberDiff line numberDiff line change
@@ -60,8 +60,22 @@ jobs:
6060
run: |
6161
pytest tvbextxircuits -r ap
6262
63+
sonar_cloud:
64+
runs-on: ubuntu-latest
65+
66+
steps:
67+
- uses: actions/checkout@v2
68+
69+
- name: Install dependencies
70+
run: |
71+
python -m pip install --upgrade pip
72+
pip install allensdk
73+
pip install -r requirements.txt
74+
pip install -U pytest pytest-cov pytest-mock
75+
6376
- name: Compute coverage
6477
run: |
78+
python -m pip install .[test]
6579
pytest -v --cov --cov-report=xml:coverage.xml tvbextxircuits
6680
6781
- name: SonarCloud Scan

0 commit comments

Comments
 (0)