Add sunny-day tests to GitHub workflow

This commit is contained in:
Thomas Jensen 2023-12-21 22:49:55 +01:00
parent 89f0608504
commit 2727e0c997
No known key found for this signature in database
GPG Key ID: A4ACEE270D0FB7DB
2 changed files with 14 additions and 2 deletions

View File

@ -20,7 +20,7 @@ env:
TERM: xterm-color TERM: xterm-color
jobs: jobs:
build: build-linux:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
@ -36,6 +36,9 @@ jobs:
- name: Run white-box tests - name: Run white-box tests
run: make utest run: make utest
- name: Run sunny-day tests
run: make covtest-sunny
- name: Run black-box tests - name: Run black-box tests
run: make covtest run: make covtest
@ -70,6 +73,9 @@ jobs:
- name: Run white-box tests - name: Run white-box tests
run: make utest run: make utest
- name: Run sunny-day tests
run: make covtest-sunny
- name: Run black-box tests - name: Run black-box tests
run: make covtest run: make covtest
@ -83,7 +89,7 @@ jobs:
parallel: true parallel: true
finish: finish:
needs: [build, build-macos] needs: [build-linux, build-macos]
if: ${{ always() }} if: ${{ always() }}
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:

View File

@ -200,6 +200,12 @@ win32.utest: $(OUT_DIR)
$(MAKE) -C utest BOXES_PLATFORM=win32 C_INCLUDE_PATH=../$(PCRE2_DIR)/src:../$(WIN_CMOCKA_DIR)/include \ $(MAKE) -C utest BOXES_PLATFORM=win32 C_INCLUDE_PATH=../$(PCRE2_DIR)/src:../$(WIN_CMOCKA_DIR)/include \
LDFLAGS_ADDTL="-L../$(PCRE2_DIR)/.libs -L../$(WIN_CMOCKA_DIR)/lib" utest LDFLAGS_ADDTL="-L../$(PCRE2_DIR)/.libs -L../$(WIN_CMOCKA_DIR)/lib" utest
test-sunny:
cd test; ./test-sunny-days-all.sh
covtest-sunny:
cd test; ./test-sunny-days-all.sh --coverage
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# Cleanup # Cleanup