Moved leaked-globals before check.
This commit is contained in:
Nobuyoshi Nakada 2020-12-25 23:08:34 +09:00
Родитель d4ba88bcd8
Коммит 73cd4951de
2 изменённых файлов: 6 добавлений и 6 удалений

4
.github/workflows/macos.yml поставляемый
Просмотреть файл

@ -5,7 +5,7 @@ jobs:
runs-on: macos-latest runs-on: macos-latest
strategy: strategy:
matrix: matrix:
test_task: [ "check", "test-bundler-parallel", "test-bundled-gems", "leaked-globals" ] test_task: [ "check", "test-bundler-parallel", "test-bundled-gems" ]
fail-fast: false fail-fast: false
env: env:
GITPULLOPTIONS: --no-tags origin ${{github.ref}} GITPULLOPTIONS: --no-tags origin ${{github.ref}}
@ -38,6 +38,8 @@ jobs:
run: ../src/configure -C --disable-install-doc --with-openssl-dir=$(brew --prefix openssl@1.1) --with-readline-dir=$(brew --prefix readline) run: ../src/configure -C --disable-install-doc --with-openssl-dir=$(brew --prefix openssl@1.1) --with-readline-dir=$(brew --prefix readline)
- run: make $JOBS incs - run: make $JOBS incs
- run: make $JOBS - run: make $JOBS
- run: make leaked-globals
if: matrix.test_task == 'check'
- run: make prepare-gems - run: make prepare-gems
if: matrix.test_task == 'check' if: matrix.test_task == 'check'
- run: make $JOBS -s ${{ matrix.test_task }} - run: make $JOBS -s ${{ matrix.test_task }}

8
.github/workflows/ubuntu.yml поставляемый
Просмотреть файл

@ -4,7 +4,7 @@ jobs:
make: make:
strategy: strategy:
matrix: matrix:
test_task: [ "check", "test-bundler-parallel", "test-bundled-gems", "test-all TESTS=--repeat-count=2", "leaked-globals" ] test_task: [ "check", "test-bundler-parallel", "test-bundled-gems", "test-all TESTS=--repeat-count=2" ]
os: os:
- ubuntu-20.04 - ubuntu-20.04
# - ubuntu-18.04 # - ubuntu-18.04
@ -17,14 +17,10 @@ jobs:
os: ubuntu-16.04 os: ubuntu-16.04
- test_task: "test-all TESTS=--repeat-count=2" - test_task: "test-all TESTS=--repeat-count=2"
os: ubuntu-16.04 os: ubuntu-16.04
- test_task: leaked-globals
os: ubuntu-16.04
- os: ubuntu-16.04 - os: ubuntu-16.04
debug: -DRUBY_DEBUG debug: -DRUBY_DEBUG
- test_task: "test-all TESTS=--repeat-count=2" - test_task: "test-all TESTS=--repeat-count=2"
debug: -DRUBY_DEBUG debug: -DRUBY_DEBUG
- test_task: leaked-globals
debug: -DRUBY_DEBUG
fail-fast: false fail-fast: false
env: env:
GITPULLOPTIONS: --no-tags origin ${{github.ref}} GITPULLOPTIONS: --no-tags origin ${{github.ref}}
@ -59,6 +55,8 @@ jobs:
run: ../src/configure -C --disable-install-doc cppflags=${{ matrix.debug }} run: ../src/configure -C --disable-install-doc cppflags=${{ matrix.debug }}
- run: make $JOBS incs - run: make $JOBS incs
- run: make $JOBS - run: make $JOBS
- run: make leaked-globals
if: matrix.test_task == 'check'
- run: make prepare-gems - run: make prepare-gems
if: matrix.test_task == 'check' if: matrix.test_task == 'check'
- name: Create dummy files in build dir - name: Create dummy files in build dir