Add LC_ALL

This commit is contained in:
Matthew Thompson 2023-08-30 09:07:18 -04:00 committed by Thomas Jensen
parent ba4a01728b
commit f3bd61075f

View File

@ -48,6 +48,11 @@ jobs:
build-mac: build-mac:
runs-on: macos-latest runs-on: macos-latest
env:
LANG: C
LC_ALL: C
LEX: /usr/local/opt/flex/bin/flex
YACC: /usr/local/opt/bison/bin/bison
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v3
@ -60,15 +65,15 @@ jobs:
echo '/usr/local/opt/findutils/libexec/gnubin' >> $GITHUB_PATH echo '/usr/local/opt/findutils/libexec/gnubin' >> $GITHUB_PATH
- name: make cov - name: make cov
run: make cov LEX=/usr/local/opt/flex/bin/flex YACC=/usr/local/opt/bison/bin/bison run: make cov
# This uses ld --wrap to mock the cmocka functions but # This uses ld --wrap to mock the cmocka functions but
# macOS ld does not support --wrap # macOS ld does not support --wrap
#- name: Run white-box tests #- name: Run white-box tests
#run: make utest LEX=/usr/local/opt/flex/bin/flex YACC=/usr/local/opt/bison/bin/bison #run: make utest
- name: Run black-box tests - name: Run black-box tests
run: make covtest LEX=/usr/local/opt/flex/bin/flex YACC=/usr/local/opt/bison/bin/bison run: make covtest
- name: Coveralls - name: Coveralls
uses: coverallsapp/github-action@v2 uses: coverallsapp/github-action@v2