Apply cleanup/typo patches from code review #116
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: ShellCheck and Test | |
on: | |
push: | |
paths: | |
- 'denv' | |
- '_denv_entrypoint' | |
- 'install' | |
- 'uninstall' | |
- 'ci/test' | |
- 'ci/check' | |
workflow_dispatch: | |
pull_request: | |
jobs: | |
shellcheck: | |
name: Shellcheck | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Run ShellCheck | |
run: ./ci/check | |
test: | |
name: Test | |
strategy: | |
fail-fast: false | |
matrix: | |
os: [ubuntu-latest] | |
runner: [docker, podman, singularity, apptainer] | |
# include: | |
# - os: macos-latest | |
# runner: docker | |
runs-on: ${{matrix.os}} | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: eWaterCycle/setup-singularity@v7 | |
if: ${{matrix.runner == 'singularity'}} | |
with: | |
singularity-version: 3.8.3 | |
- uses: eWaterCycle/setup-apptainer@v2 | |
if: ${{matrix.runner == 'apptainer'}} | |
with: | |
apptainer-version: 1.1.9 | |
- uses: douglascamata/setup-docker-macos-action@v1-alpha | |
if: ${{matrix.os == 'macos-latest'}} | |
- name: enable debug mode if requested | |
if: ${{runner.debug == '1'}} | |
run: echo "DENV_DEBUG=1" >> "$GITHUB_ENV" | |
- name: Install | |
run: sudo ./install | |
- name: Test | |
env: | |
DENV_RUNNER: ${{matrix.runner}} | |
run: ./ci/test |