diff --git a/.github/workflows/test.yml b/.github/workflows/test_remote_no_dependencies.yml similarity index 64% rename from .github/workflows/test.yml rename to .github/workflows/test_remote_no_dependencies.yml index 181dc99..37617bc 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test_remote_no_dependencies.yml @@ -1,4 +1,5 @@ -name: Test Pypi package +name: "Test remote API" +description: "Test remote API at https://api.harmonydata.ac.uk. Github actions does not host a running API so we cannot test locally." on: push: @@ -29,9 +30,11 @@ jobs: - name: Install dependencies run: | python -m pip install --upgrade pip - pip install -r requirements.txt - - name: Delete unwanted tests - run: rm tests/*selenium* tests/*local* + pip install pytest requests + - name: Delete unwanted tests (1) + run: tests/*local* + - name: Delete unwanted tests (2) + run: rm tests/*selenium* - name: Test with pytest run: | pip install pytest