Skip to content

Commit 91b5f53

Browse files
authored
Use data container for integration tests (#901)
* Avoid downloading data from LCRC which throttles the webserver
1 parent ca41b0e commit 91b5f53

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

.github/workflows/build_workflow.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,8 @@ jobs:
5151
strategy:
5252
matrix:
5353
python-version: ["3.9", "3.10"]
54+
container:
55+
image: ghcr.io/e3sm-project/containers-e3sm-diags-test-data:e3sm-diags-test-data-0.0.2
5456
steps:
5557
- id: skip_check
5658
uses: fkirc/skip-duplicate-actions@master
@@ -101,8 +103,9 @@ jobs:
101103
run: pytest tests/e3sm_diags
102104

103105
- if: ${{ steps.skip_check.outputs.should_skip != 'true' }}
104-
name: Download Integration Test Data
105-
run: python -m tests.integration.download_data
106+
name: Copy Integration Test Data
107+
run: |
108+
cp -r /e3sm_diags_downloaded_data/tests/integration/* tests/integration/
106109
107110
- if: ${{ steps.skip_check.outputs.should_skip != 'true' }}
108111
name: Run Integration Tests

0 commit comments

Comments
 (0)