diff options
author | Bram <perl-rt@wizbit.be> | 2022-09-15 21:25:37 +0200 |
---|---|---|
committer | Karl Williamson <khw@cpan.org> | 2022-10-12 16:49:07 -0600 |
commit | b564de6cbcc5bf778b0cd8667a725000c9a02d72 (patch) | |
tree | 151a68938e5d9ccf9133ba5d1763fe975a2e6d8b /.github/workflows | |
parent | d487da81c3a1fd8e3ac06d6777cf106ffb8e58f4 (diff) | |
download | perl-b564de6cbcc5bf778b0cd8667a725000c9a02d72.tar.gz |
testsuite.yml: Split "run_all_jobs" logic
This is in preparation of the next commit which will alter
the `[[ -n "${EXTENDED_TESTING}" ]]` condition.
Diffstat (limited to '.github/workflows')
-rw-r--r-- | .github/workflows/testsuite.yml | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/.github/workflows/testsuite.yml b/.github/workflows/testsuite.yml index 9f66728b53..cc61d59bba 100644 --- a/.github/workflows/testsuite.yml +++ b/.github/workflows/testsuite.yml @@ -139,12 +139,15 @@ jobs: EXTENDED_TESTING: ${{ secrets.EXTENDED_TESTING }} CURRENT_REPOSITORY: ${{ github.repository }} run: | - if [[ -z "${EXTENDED_TESTING}" && "${CURRENT_REPOSITORY}" != 'Perl/perl5' ]]; then - echo "Skipping extended test jobs." - echo "::set-output name=run_all_jobs::false" - else + if [[ "${CURRENT_REPOSITORY}" = 'Perl/perl5' ]]; then + echo "Running all test jobs" + echo "::set-output name=run_all_jobs::true" + elif [[ -n "${EXTENDED_TESTING}" ]]; then echo "Running all test jobs" echo "::set-output name=run_all_jobs::true" + else + echo "Skipping extended test jobs." + echo "::set-output name=run_all_jobs::false" fi - name: Run Porting Tests (t/porting) |