This repository has been archived by the owner on Dec 5, 2024. It is now read-only.
Merge pull request #378 from AntoinePrv/linters #602
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: Linters (Python) | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v1 | |
- name: install mamba | |
uses: mamba-org/setup-micromamba@v1 | |
with: | |
environment-file: tests/lint.yml | |
- name: Run all linters | |
shell: bash -l {0} | |
run: | | |
pre-commit run --all-files --verbose |