Skip to content

Mamba

Mamba #261

Workflow file for this run

name: Formatting & compliance
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
pre-commit:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: 3.9.14
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install $(cat env/environment.yml | grep pre-commit | awk '{print $(NF)}')
pre-commit install-hooks
- name: Run checks
run: |-
python -m pip list
pre-commit run --all-files --verbose