Skip to content

Commit

Permalink
Install test dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
jordap committed Jun 26, 2024
1 parent 23b6c84 commit 58a1faa
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,7 @@ jobs:
run: timeout 1m bash -c 'until $(curl -o /dev/null --fail -s localhost:9090/metrics); do echo "Waiting for Prometheus..."; sleep 5; done'
- name: Wait for Omniwatch
run: timeout 15m bash -c 'until [[ $(curl -s -g "localhost:9090/api/v1/series?match[]={instance=\"node:8000\"}" | jq ".data|length") != 0 ]]; do echo "Waiting for Omnistat..."; docker compose -f test/docker/slurm/compose.yaml logs | tail; curl -s -g "localhost:9090/api/v1/series?match[]={instance=\"node:8000\"}" | jq ".data|length"; sleep 15; done'
- name: Install test dependencies
run: pip3 install prometheus_api_client
- name: Run tests
run: pytest-3 -v test

0 comments on commit 58a1faa

Please sign in to comment.