build(deps): bump ncipollo/release-action from aa3b2fa675dd00a28f946e5c0390de0a6eb89770 to cdcc88a9acf3ca41c16c37bb7d21b9ad48560d87 #637
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" |