Skip to content

Commit

Permalink
change to !- pull request
Browse files Browse the repository at this point in the history
  • Loading branch information
peterdudfield committed Nov 18, 2024
1 parent 1b6bae9 commit 09733dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/pytest.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
run: |
export TEST_DIR="tests/unit"
# if branch is 'main', or the repo owner is 'openclimatefix'
if [[ ${{ github.repository_owner }} == 'openclimatefix' ]]; then
if [[ ${{ github.event_name }} != 'pull_request' ]]; then
export TEST_DIR="tests"
fi
# print out so we can see
Expand Down

0 comments on commit 09733dd

Please sign in to comment.