summaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/testsuite.yml30
1 files changed, 18 insertions, 12 deletions
diff --git a/.github/workflows/testsuite.yml b/.github/workflows/testsuite.yml
index 5af908d9cf..3e0970019e 100644
--- a/.github/workflows/testsuite.yml
+++ b/.github/workflows/testsuite.yml
@@ -102,15 +102,16 @@ jobs:
env:
CONFIGURE_ARGS: "-Dusethreads"
- name: Build
+ id: build
run: |
make -j2 test_prep
- name: Show Config
run: |
./perl -Ilib -V
./perl -Ilib -e 'use Config; print Config::config_sh'
- - name: Run Tests
+ - name: Run Tests (excluding t/porting)
run: |
- TEST_JOBS=2 ./perl t/harness
+ TEST_JOBS=2 ./perl t/harness -nre='^porting/'
# Set a variable for dependent jobs to signal if full testsuite is enabled
- name: "Check if EXTENDED_TESTING is set"
@@ -127,6 +128,11 @@ jobs:
echo "::set-output name=run_all_jobs::true"
fi
+ - name: Run Porting Tests (t/porting)
+ if: always() && steps.build.outcome == 'success'
+ run: |
+ TEST_JOBS=2 ./perl t/harness -re='^porting/'
+
# _ _
# | (_)_ _ _ ___ __
# | | | ' \ || \ \ /
@@ -136,7 +142,7 @@ jobs:
runs-on: ubuntu-latest
timeout-minutes: 120
needs: sanity_check
- if: needs.sanity_check.outputs.run_all_jobs == 'true'
+ if: always() && needs.sanity_check.outputs.run_all_jobs == 'true'
strategy:
fail-fast: false
@@ -193,7 +199,7 @@ jobs:
runs-on: ubuntu-latest
timeout-minutes: 120
needs: sanity_check
- if: needs.sanity_check.outputs.run_all_jobs == 'true'
+ if: always() && needs.sanity_check.outputs.run_all_jobs == 'true'
# https://hub.docker.com/r/i386/ubuntu/
container:
@@ -247,7 +253,7 @@ jobs:
runs-on: ubuntu-latest
timeout-minutes: 120
needs: sanity_check
- if: needs.sanity_check.outputs.run_all_jobs == 'true'
+ if: always() && needs.sanity_check.outputs.run_all_jobs == 'true'
steps:
- name: Install System dependencies
@@ -297,7 +303,7 @@ jobs:
runs-on: macos-10.15
timeout-minutes: 120
needs: sanity_check
- if: needs.sanity_check.outputs.run_all_jobs == 'true'
+ if: always() && needs.sanity_check.outputs.run_all_jobs == 'true'
strategy:
fail-fast: false
@@ -333,7 +339,7 @@ jobs:
runs-on: windows-2019
timeout-minutes: 120
needs: sanity_check
- if: needs.sanity_check.outputs.run_all_jobs == 'true'
+ if: always() && needs.sanity_check.outputs.run_all_jobs == 'true'
steps:
- run: git config --global core.autocrlf false
@@ -389,7 +395,7 @@ jobs:
runs-on: windows-2019
timeout-minutes: 120
needs: sanity_check
- if: needs.sanity_check.outputs.run_all_jobs == 'true'
+ if: always() && needs.sanity_check.outputs.run_all_jobs == 'true'
steps:
- run: git config --global core.autocrlf false
@@ -439,7 +445,7 @@ jobs:
runs-on: windows-2019
timeout-minutes: 120
needs: sanity_check
- if: needs.sanity_check.outputs.run_all_jobs == 'true'
+ if: always() && needs.sanity_check.outputs.run_all_jobs == 'true'
steps:
# we use Cygwin git, so no need to configure git here.
@@ -502,7 +508,7 @@ jobs:
runs-on: ubuntu-latest
timeout-minutes: 120
needs: sanity_check
- if: needs.sanity_check.outputs.run_all_jobs == 'true'
+ if: always() && needs.sanity_check.outputs.run_all_jobs == 'true'
outputs:
run_all_jobs: ${{ steps.check_extended_testing.outputs.run_all_jobs }}
@@ -551,7 +557,7 @@ jobs:
runs-on: ubuntu-latest
timeout-minutes: 120
needs: sanity_check
- if: needs.sanity_check.outputs.run_all_jobs == 'true'
+ if: always() && needs.sanity_check.outputs.run_all_jobs == 'true'
strategy:
matrix:
@@ -602,7 +608,7 @@ jobs:
runs-on: ubuntu-latest
timeout-minutes: 120
needs: sanity_check
- if: needs.sanity_check.outputs.run_all_jobs == 'true'
+ if: always() && needs.sanity_check.outputs.run_all_jobs == 'true'
strategy:
matrix: