Skip to content

Commit

Permalink
More debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
MetRonnie committed Jun 19, 2024
1 parent e9a20fe commit 855fb1c
Showing 1 changed file with 17 additions and 17 deletions.
34 changes: 17 additions & 17 deletions .github/workflows/test_functional.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ jobs:
os: ['macos-latest']
python-version: ['3.9']
test-base: ['tests/f']
chunk: ['1/5', '2/5', '3/5', '4/5']
chunk: ['1/1']
platform: ['_local_background*']

env:
Expand Down Expand Up @@ -167,20 +167,20 @@ jobs:
- name: Configure git # Needed by the odd test
uses: cylc/release-actions/configure-git@v1

- name: Filter Tests
env:
# NOTE: we only want the CHUNK set in this step else we will
# re-chunk tests later when they run
CHUNK: ${{ matrix.chunk }}
run: |
etc/bin/run-functional-tests \
--dry \
${{ matrix.test-base }} \
> test-file
if [[ $REMOTE_PLATFORM == 'true' ]]; then
# skip tests that don't configure platform requirements
grep -l --color=never REQUIRE_PLATFORM $(cat test-file) > test-file
fi
# - name: Filter Tests
# env:
# # NOTE: we only want the CHUNK set in this step else we will
# # re-chunk tests later when they run
# CHUNK: ${{ matrix.chunk }}
# run: |
# etc/bin/run-functional-tests \
# --dry \
# ${{ matrix.test-base }} \
# > test-file
# if [[ $REMOTE_PLATFORM == 'true' ]]; then
# # skip tests that don't configure platform requirements
# grep -l --color=never REQUIRE_PLATFORM $(cat test-file) > test-file
# fi

- name: Test
id: test
Expand All @@ -197,7 +197,7 @@ jobs:
etc/bin/run-functional-tests \
-j "${NPROC}" \
--state=save \
$(cat test-file) \
tests/f/shutdown/08-now1.t \
|| (echo "finished=true" >> $GITHUB_OUTPUT && false)
- name: Time Out
Expand All @@ -218,7 +218,7 @@ jobs:
etc/bin/run-functional-tests \
-j 1 \
-v \
--state=save,failed $(cat test-file)
--state=save,failed tests/f/shutdown/08-now1.t
- name: Copy cylc-run out of container
if: failure() && steps.test.outcome == 'failure' && env.REMOTE_PLATFORM == 'true'
Expand Down

0 comments on commit 855fb1c

Please sign in to comment.