From 5f2875c02db0ee88b7f3c00d125a7d3e99cfe45e Mon Sep 17 00:00:00 2001 From: Robbi Bishop-Taylor Date: Tue, 11 Oct 2022 16:20:27 +1100 Subject: [PATCH] Update tests to use new files (#67) * Update tests to use new files * Update docker-compose.yaml --- .github/workflows/test.yaml | 6 +++--- docker-compose.yaml | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index d0a5842..d154ebb 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -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/" @@ -48,4 +48,4 @@ jobs: uses: codecov/codecov-action@v3 with: directory: ./artifacts/ - fail_ci_if_error: false \ No newline at end of file + fail_ci_if_error: false diff --git a/docker-compose.yaml b/docker-compose.yaml index fdf3066..d7bae42 100644 --- a/docker-compose.yaml +++ b/docker-compose.yaml @@ -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