fix(deps): update ubuntu docker tag to v24 (#197) #347
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Test | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
permissions: | |
contents: read | |
jobs: | |
test: | |
name: Test | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Install GnuCOBOL | |
run: "sudo apt-get install -y gnucobol" | |
- name: Run tests | |
# By specifying "bash" explicitly, GitHub uses the "-eo pipefail" option. | |
# See: https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsshell | |
shell: bash | |
run: "make test | tee test.log; (grep -q \"FAIL\\|ERROR\" test.log && exit 1 || exit 0)" |