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