Skip to content

Commit

Permalink
Pytest on remote only
Browse files Browse the repository at this point in the history
  • Loading branch information
woodthom2 committed May 25, 2024
1 parent 2999118 commit b507dca
Showing 1 changed file with 7 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -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:
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit b507dca

Please sign in to comment.