From cc1ea6e0238a36c08a6255a6ac7a68c54ccafa4a Mon Sep 17 00:00:00 2001 From: Takashi Kokubun Date: Tue, 11 May 2021 15:18:44 -0700 Subject: Run nmake check on Actions (#4487) * Run nmake check on Actions * Skip tests not working in mswin GitHub Actions * Override TEMP * Revert "Skip tests not working in mswin GitHub Actions" This reverts commit 544d2575fcdf23ae63cd25aa03fce10c28b259f2. * Revert "Revert "Skip tests not working in mswin GitHub Actions"" This reverts commit e1f8ad7862c9c4be52dc6e1031a004621eb07e6e. * Fix timeouts * Skip some more broken tests * Update windows.yml * Add a guard for rbasic_spec * Revert "Update windows.yml" This reverts commit bc9694b6b3b9594d406378d15ca11723fb052bc8. * Skip the ensure clause * Simplify the ensure --- .github/workflows/windows.yml | 20 +++++++++++++++++--- 1 file changed, 17 insertions(+), 3 deletions(-) (limited to '.github/workflows/windows.yml') diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml index 700b9b95fc..a8dd64eb35 100644 --- a/.github/workflows/windows.yml +++ b/.github/workflows/windows.yml @@ -4,7 +4,7 @@ jobs: make: strategy: matrix: - test_task: [test] + test_task: [check] # to make job names consistent os: [windows-2019] vs: [2019] fail-fast: false @@ -62,10 +62,24 @@ jobs: nmake extract-extlibs nmake - name: nmake test - timeout-minutes: 30 + timeout-minutes: 5 run: | call "%VCVARS%" - nmake ${{ matrix.test_task }} + nmake test + - name: nmake test-all + timeout-minutes: 60 + run: | + call "%VCVARS%" + # %TEMP% is inconsistent with %TMP% and test-all expects they are consistent. + # https://github.com/actions/virtual-environments/issues/712#issuecomment-613004302 + set TMP=%USERPROFILE%\AppData\Local\Temp + set TEMP=%USERPROFILE%\AppData\Local\Temp + nmake test-all + - name: nmake test-spec + timeout-minutes: 10 + run: | + call "%VCVARS%" + nmake test-spec - uses: k0kubun/action-slack@v2.0.0 with: payload: | -- cgit v1.2.3