Skip to content

fix: Avoid redirection Bashism in POSIX Shell script #75

fix: Avoid redirection Bashism in POSIX Shell script

fix: Avoid redirection Bashism in POSIX Shell script #75

Workflow file for this run

name: Testing Bach
on: [push]
jobs:
test:
name: Test on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
os:
- ubuntu-latest
- macOS-latest
steps:
- uses: actions/checkout@v2
- name: Checkout submodules
shell: bash
run: |
auth_header="$(git config --local --get http.https://github.com/.extraheader)"
git submodule sync --recursive
git -c "http.extraheader=$auth_header" -c protocol.version=2 submodule update --init --force --recursive --depth=1
- name: Test Bach Testing Framework
run: ./run-tests.sh
test-on-windows:
name: Test on Windows
runs-on: windows-latest
steps:
- uses: actions/checkout@v2
- name: Checkout submodules
shell: bash
run: |
auth_header="$(git config --local --get http.https://github.com/.extraheader)"
git submodule sync --recursive
git -c "http.extraheader=$auth_header" -c protocol.version=2 submodule update --init --force --recursive --depth=1
- name: Test Bach Testing Framework
shell: bash
run: bash ./run-tests.sh