From 475416711bd8dd77317f82318b73575054ce1ae8 Mon Sep 17 00:00:00 2001 From: Robbi Bishop-Taylor Date: Wed, 20 Dec 2023 11:43:21 +1100 Subject: [PATCH] Try without copying files around --- .github/workflows/dea-intertidal-image.yml | 5 +++++ tests/run_tests | 4 +++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/.github/workflows/dea-intertidal-image.yml b/.github/workflows/dea-intertidal-image.yml index dd47a84..bda46aa 100644 --- a/.github/workflows/dea-intertidal-image.yml +++ b/.github/workflows/dea-intertidal-image.yml @@ -53,6 +53,11 @@ jobs: docker-compose exec -T dea_intertidal /bin/sh -c "sh ./tests/run_tests" # docker-compose down + - name: Upload coverage to Codecov + uses: codecov/codecov-action@v2 + with: + fail_ci_if_error: false + - name: Setup upterm session uses: lhotari/action-upterm@v1 diff --git a/tests/run_tests b/tests/run_tests index a8652d4..b90116c 100644 --- a/tests/run_tests +++ b/tests/run_tests @@ -1,4 +1,6 @@ #!/bin/sh # Run integration tests and generate code coverage -pytest --cov=intertidal --cov-report=xml tests/integration \ No newline at end of file +pytest --cov=intertidal --cov-report=xml tests/integration +find / -name "coverage.xml" +ls \ No newline at end of file