Skip to content

Commit

Permalink
Attempt to fix tests by installing test dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
mfisher87 committed Jun 30, 2024
1 parent 30c055c commit 1b84b1f
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/integration-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,14 +54,14 @@ jobs:
- name: Ensure cache is healthy
if: steps.cache.outputs.cache-hit == 'true'
run: poetry run pip --version >/dev/null 2>&1 || rm -rf .venv
- name: Install Dependencies
- name: Install dependencies
if: ${{ !env.ACT }}
run: poetry install
- name: Install Dependencies
run: poetry install -E test
- name: Install dependencies
if: ${{ env.ACT }}
# When using `act` to run the workflow locally, the `poetry install` command
# may fail due to network issues when running multiple Docker containers.
run: poetry install || poetry install || poetry install
run: poetry install -E test || poetry install -E test || poetry install -E test
- name: Test
env:
EARTHDATA_USERNAME: ${{ secrets.EDL_USERNAME }}
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,14 +42,14 @@ jobs:
- name: Ensure cache is healthy
if: steps.cache.outputs.cache-hit == 'true'
run: poetry run pip --version >/dev/null 2>&1 || rm -rf .venv
- name: Install Dependencies
- name: Install dependencies
if: ${{ !env.ACT }}
run: poetry install
- name: Install Dependencies
run: poetry install -E test
- name: Install dependencies
if: ${{ env.ACT }}
# When using `act` to run the workflow locally, the `poetry install` command
# may fail due to network issues when running multiple Docker containers.
run: poetry install || poetry install || poetry install
run: poetry install -E test || poetry install -E test || poetry install -E test
- name: Test
run: poetry run bash scripts/test.sh
- name: Upload coverage
Expand Down

0 comments on commit 1b84b1f

Please sign in to comment.