diff options
author | Nicholas Clark <nick@ccl4.org> | 2021-09-16 19:32:15 +0000 |
---|---|---|
committer | Nicholas Clark <nick@ccl4.org> | 2021-09-26 08:51:18 +0000 |
commit | 6010775eb52097681e3dacaf9c61c36d15186b6c (patch) | |
tree | 62aa97144893eb1655b1dc3e5d786ad274c4678a /.github | |
parent | 69e48a5b67148962b429514c77646842d4e8a4dd (diff) | |
download | perl-6010775eb52097681e3dacaf9c61c36d15186b6c.tar.gz |
Add a CI job to confirm that minitest keeps passing
Currently minitest passes - let's keep it that way.
minitest might feel like makework, until one makes a seemingly innocent
change that breaks the build in "inconceivable" ways and it's no longer
even possible to get to the point of being able to run `make test`.
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/testsuite.yml | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/.github/workflows/testsuite.yml b/.github/workflows/testsuite.yml index cc6f4a44c9..091f1ef1ee 100644 --- a/.github/workflows/testsuite.yml +++ b/.github/workflows/testsuite.yml @@ -417,3 +417,50 @@ jobs: run: | path %GITHUB_WORKSPACE%\cygwin\bin;%GITHUB_WORKSPACE%\cygwin\usr\bin sh -c "cd ~/work; make -j2 test" + + # _ _ _ _ + # _ __ ___ (_)_ __ (_) |_ ___ ___| |_ + # | '_ ` _ \| | '_ \| | __/ _ \/ __| __| + # | | | | | | | | | | | || __/\__ \ |_ + # |_| |_| |_|_|_| |_|_|\__\___||___/\__| + + miniperl: + name: "minitest" + runs-on: ubuntu-latest + timeout-minutes: 120 + needs: sanity_check + if: needs.sanity_check.outputs.run_all_jobs == 'true' + + env: + PERL_SKIP_TTY_TEST: 1 + CONTINUOUS_INTEGRATION: 1 + WORKSPACE: ${{ github.workspace }} + + outputs: + run_all_jobs: ${{ steps.check_extended_testing.outputs.run_all_jobs }} + + steps: + - name: Dump GitHub context + env: + GITHUB_CONTEXT: ${{ toJson(github) }} + run: echo "$GITHUB_CONTEXT" + - uses: actions/checkout@v2 + with: + fetch-depth: 0 + - name: git cfg + fetch tags + run: | + git config diff.renameLimit 999999 + git fetch --depth=1 origin +refs/tags/*:refs/tags/* + - name: Configure + run: | + ./Configure -des -Dusedevel -Dprefix="$HOME/perl-blead" + - name: Build + run: | + make -j2 minitest_prep + - name: Show Config + run: | + ./miniperl -Ilib -V + ./miniperl -Ilib -e 'use Config; print Config::config_sh' + - name: Run Tests + run: | + make minitest_notty |