Skip to content

Commit

Permalink
running tests always
Browse files Browse the repository at this point in the history
  • Loading branch information
j-i-l committed May 12, 2024
1 parent be414cf commit ab54319
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/development_run.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@ jobs:
- name: Find changed files
id: changed_files
run: |
echo "$(gh pr view ${{ env.EVENT }} --json 'files' --jq '.[].[] | select(.path | startswith(".github/"))')"
echo "CHANGED_SRC=$(gh pr view ${{ env.EVENT }} --json 'files' --jq '.[].[] | select(.path | startswith("src/")) | .path' | xargs | sed -e 's/ /,/g')"
echo "CHANGED_R=$(gh pr view ${{ env.EVENT }} --json 'files' --jq '.[].[] | select(.path | startswith("R/")) | .path' | xargs | sed -e 's/ /,/g')" >> $GITHUB_OUTPUT
cat $GITHUB_OUTPUT
Expand All @@ -59,9 +58,10 @@ jobs:
- id: get_testfiles
run: |
echo "TESTFILES=$(ls tests/testthat/test-*.R | jq -R -s -c 'split("\n")[:-1]'))" >> $GITHUB_OUTPUT
cat $GITHUB_OUTPUT
build-install-test:
if: ${{ github.event_name != 'pull_request' && !startsWith(github.event.head_commit.message, 'noT') }}
if: ${{ !startsWith(github.event.head_commit.message, 'noT') }}
needs:
- gather-tests
- get-target-container
Expand All @@ -77,7 +77,7 @@ jobs:
strategy:
fail-fast: false
matrix:
testfile: ${{ fromJson(needs.gather_tests.outputs.testfiles) }}
testfile: ${{ fromJson(needs.gather-tests.outputs.testfiles) }}
env:
R_KEEP_PKG_SOURCE: yes # NOTE Jo: not sure why this is here?
steps:
Expand Down

0 comments on commit ab54319

Please sign in to comment.