Skip to content

Commit

Permalink
workflow order fix
Browse files Browse the repository at this point in the history
  • Loading branch information
sgathrid committed Aug 17, 2024
1 parent 3f31af2 commit 72eb2a9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 8 deletions.
9 changes: 2 additions & 7 deletions .github/actions/run-tests/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,7 @@ runs:
using: composite
steps:
- name: Set up Conda
uses: ../setup-conda # Use the setup-conda action from your repo
uses: ../setup-conda
with:
environment-file: ${{ inputs.environment-file }}

- name: Run pytest
run: |
source ~/miniconda/bin/activate test
pytest
shell: bash -el {0}
activate-environment: test
2 changes: 1 addition & 1 deletion .github/workflows/run-pytest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,10 @@ jobs:
uses: ./.github/actions/setup-conda
with:
environment-file: ${{ env.ENV_FILE }}
activate-environment: test

- name: Run pytest
run: |
source ~/miniconda/bin/activate test
pytest
shell: bash -el {0}

Expand Down

0 comments on commit 72eb2a9

Please sign in to comment.