build(deps): bump ncipollo/release-action from a8bcd956fb63e2672c1e57eafb1accf4eaa68c31 to 215ba89ed6e7cee9cb3dbae4a57b5ad63a1b9dbc #615
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 micromamba docker image | |
on: | |
pull_request: | |
branches: | |
- main | |
- dev | |
workflow_dispatch: | |
jobs: | |
default_base_image_tests: | |
name: default base_image tests | |
runs-on: ubuntu-22.04 | |
steps: | |
- name: Checkout source | |
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 | |
with: | |
submodules: recursive | |
- name: Install GNU parallel and apptainer | |
run: | | |
sudo apt-get install --no-install-recommends -y parallel software-properties-common | |
sudo add-apt-repository -y ppa:apptainer/ppa | |
sudo apt update | |
sudo apt install -y apptainer | |
- name: Setup nox | |
uses: wntrblm/nox@1199ab3892b1a941f80ff052083d0a571abed79d | |
- name: Run tests | |
run: nox -s "default_base_image_tests" | |
shellcheck: | |
name: shellcheck | |
runs-on: ubuntu-22.04 | |
steps: | |
- name: Checkout source | |
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 | |
- name: Install curl and xz-utils | |
run: sudo apt-get install --no-install-recommends -y curl xz-utils | |
- name: Install shellcheck | |
run: curl --location --silent https://github.com/koalaman/shellcheck/releases/download/stable/shellcheck-stable.linux.x86_64.tar.xz | tar xJ --strip-components=1 -C . shellcheck-stable/shellcheck | |
- name: Run tests | |
run: ./shellcheck -x *.sh test/*.bats | |
pylint: | |
name: pylint | |
runs-on: ubuntu-22.04 | |
steps: | |
- name: Checkout source | |
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 | |
- name: Setup nox | |
uses: wntrblm/nox@1199ab3892b1a941f80ff052083d0a571abed79d | |
- name: Run tests | |
run: nox -s "pylint" | |
flake8: | |
name: flake8 | |
runs-on: ubuntu-22.04 | |
steps: | |
- name: Checkout source | |
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 | |
- name: Setup nox | |
uses: wntrblm/nox@1199ab3892b1a941f80ff052083d0a571abed79d | |
- name: Run tests | |
run: nox -s "flake8" | |
mypy: | |
name: mypy | |
runs-on: ubuntu-22.04 | |
steps: | |
- name: Checkout source | |
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 | |
- name: Setup nox | |
uses: wntrblm/nox@1199ab3892b1a941f80ff052083d0a571abed79d | |
- name: Run tests | |
run: nox -s "mypy" | |
black: | |
name: black | |
runs-on: ubuntu-22.04 | |
steps: | |
- name: Checkout source | |
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 | |
- name: Setup nox | |
uses: wntrblm/nox@1199ab3892b1a941f80ff052083d0a571abed79d | |
- name: Run tests | |
run: nox -s "black" | |
pytest: | |
name: pytest | |
runs-on: ubuntu-22.04 | |
steps: | |
- name: Checkout source | |
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 | |
- name: Setup nox | |
uses: wntrblm/nox@1199ab3892b1a941f80ff052083d0a571abed79d | |
- name: Run tests | |
run: nox -s "pytest" | |
build_docs: | |
name: build_docs | |
runs-on: ubuntu-22.04 | |
steps: | |
- name: Checkout source | |
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 | |
- name: Setup nox | |
uses: wntrblm/nox@1199ab3892b1a941f80ff052083d0a571abed79d | |
- name: Run tests | |
run: nox -s "build_docs" |