mirror of
https://github.com/ascii-boxes/boxes.git
synced 2024-12-04 14:03:53 +01:00
Add sunny-day tests to GitHub workflow
This commit is contained in:
parent
89f0608504
commit
2727e0c997
10
.github/workflows/boxes.yml
vendored
10
.github/workflows/boxes.yml
vendored
@ -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:
|
||||
|
6
Makefile
6
Makefile
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user