Skip to content

Commit

Permalink
adding github actions to run testbed api
Browse files Browse the repository at this point in the history
  • Loading branch information
Chen2x committed Apr 8, 2022
1 parent 2a341dd commit 40ed716
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,18 @@ jobs:
- name: Install dependencies
run: pip install -r requirements.txt

- name: Run Testbed API
run: docker run -d -p 4500:4500 ga4gh/ga4gh-testbed-api:0.1.0

- name: Service Health Check
uses: jtalk/url-health-check-action@v2
with:
url: http://localhost:4500/reports
follow-redirect: false
max-attempts: 6
retry-delay: 10s
retry-all: true

- name: Run Tests
run: python -m pytest --cov

Expand Down

0 comments on commit 40ed716

Please sign in to comment.