Skip to content

Commit

Permalink
Update tests to use new files (#67)
Browse files Browse the repository at this point in the history
* Update tests to use new files

* Update docker-compose.yaml
  • Loading branch information
robbibt authored Oct 11, 2022
1 parent c73a4c1 commit 5f2875c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@ jobs:
run: |
mkdir artifacts
chmod a+rw artifacts
wget https://www.dropbox.com/s/ivx93rcdl9yfdaf/tide_models_clipped.zip?dl=1 -O tide_models_clipped.zip
unzip tide_models_clipped.zip
wget https://www.dropbox.com/s/vj2rqkwy9al144w/tide_models.zip?dl=1 -O tide_models.zip
unzip tide_models.zip
docker-compose up -d
docker-compose exec -T coastline /bin/sh -c "sh ./docker/coastline/wait-for-db; pytest --cov=coastlines --cov-report=xml tests/"
Expand All @@ -48,4 +48,4 @@ jobs:
uses: codecov/codecov-action@v3
with:
directory: ./artifacts/
fail_ci_if_error: false
fail_ci_if_error: false
2 changes: 1 addition & 1 deletion docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,6 @@ services:
volumes:
- ./artifacts:/mnt/artifacts
- ./docker/coastline/wait-for-db:/usr/local/bin/wait-for-db
- ./tide_models_clipped/:/root/tide_models_clipped
- ./tide_models/:/root/tide_models
restart: always
command: tail -f /dev/null

0 comments on commit 5f2875c

Please sign in to comment.