Skip to content

Commit 187e66f

Browse files
committed
correct syntax for GHA [3]
1 parent 78ed137 commit 187e66f

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

.github/workflows/unittests.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,14 +33,16 @@
3333

3434
- name: run tests - bash
3535
shell: bash -l {0}
36-
run: python -c 'import libpysal; libpysal.examples.fetch_all()'
37-
run: pytest -v libpysal --cov=libpysal --cov-report=xml
36+
run: |
37+
python -c 'import libpysal; libpysal.examples.fetch_all()'
38+
pytest -v libpysal --cov=libpysal --cov-report=xml
3839
if: matrix.os != 'windows-latest'
3940

4041
- name: run tests - powershell
4142
shell: powershell
42-
run: python -c 'import libpysal; libpysal.examples.fetch_all()'
43-
run: pytest -v libpysal --cov=libpysal --cov-report=xml
43+
run: |
44+
python -c 'import libpysal; libpysal.examples.fetch_all()'
45+
pytest -v libpysal --cov=libpysal --cov-report=xml
4446
if: matrix.os == 'windows-latest'
4547

4648
- name: ${{ matrix.os }}, ${{ matrix.environment-file }}

0 commit comments

Comments
 (0)