Skip to content

Commit b507dca

Browse files
committed
Pytest on remote only
1 parent 2999118 commit b507dca

1 file changed

Lines changed: 7 additions & 4 deletions

File tree

.github/workflows/test.yml renamed to .github/workflows/test_remote_no_dependencies.yml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
name: Test Pypi package
1+
name: "Test remote API"
2+
description: "Test remote API at https://api.harmonydata.ac.uk. Github actions does not host a running API so we cannot test locally."
23

34
on:
45
push:
@@ -29,9 +30,11 @@ jobs:
2930
- name: Install dependencies
3031
run: |
3132
python -m pip install --upgrade pip
32-
pip install -r requirements.txt
33-
- name: Delete unwanted tests
34-
run: rm tests/*selenium* tests/*local*
33+
pip install pytest requests
34+
- name: Delete unwanted tests (1)
35+
run: tests/*local*
36+
- name: Delete unwanted tests (2)
37+
run: rm tests/*selenium*
3538
- name: Test with pytest
3639
run: |
3740
pip install pytest

0 commit comments

Comments
 (0)