Add BUILDER_CONFIG environment variable #109
Workflow file for this run
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: Tests | |
on: [push, pull_request] | |
jobs: | |
BATS: | |
strategy: | |
fail-fast: false | |
matrix: | |
os: ["ubuntu-20.04"] | |
envmodules: ["environment-modules=4.4.*", "lmod=6.6-*"] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Install ${{ matrix.envmodules }} | |
run: sudo apt install ${{ matrix.envmodules }} | |
- name: Install test dependencies | |
run: sudo apt install shellcheck | |
- name: Install BATS | |
run: | | |
./build.sh configure || true | |
./build.sh -s bats | |
- name: Run BATS | |
run: | | |
source /etc/profile | |
module --version | |
module use /home/runner/modules | |
cp -v /home/runner/modules/bats/1.2.1/default /home/runner/modules/bats/1.2.2 | |
echo "MODULEPATH=$MODULEPATH" | |
find /home/runner/modules -type f | |
module avail | |
module load bats/1.2.2 | |
bats tests/ |