chore(deps-dev): Bump flake8-bugbear from 24.10.31 to 24.12.12 #608
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: CI | |
on: | |
push: | |
branches: | |
- develop-* | |
- develop | |
- master | |
pull_request: | |
branches: | |
- develop-* | |
- develop | |
- master | |
jobs: | |
black: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: nelonoel/branch-name@v1.0.1 | |
- name: Build and tag the image for testing and release | |
run: >- | |
docker build . | |
--file Dockerfile | |
--tag tol-lab-share:black | |
- name: Run tests against the image | |
run: >- | |
docker run | |
--entrypoint '' | |
tol-lab-share:black | |
python -m black --check . | |
flake8: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: nelonoel/branch-name@v1.0.1 | |
- name: Build and tag the image for testing and release | |
run: >- | |
docker build . | |
--file Dockerfile | |
--tag tol-lab-share:flake8 | |
- name: Run tests against the image | |
run: >- | |
docker run | |
--entrypoint '' | |
tol-lab-share:flake8 | |
flake8 | |
mypy: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: nelonoel/branch-name@v1.0.1 | |
- name: Build and tag the image for testing and release | |
run: >- | |
docker build . | |
--file Dockerfile | |
--tag tol-lab-share:mypy | |
- name: Run tests against the image | |
run: >- | |
docker run | |
--entrypoint '' | |
tol-lab-share:mypy | |
python -m mypy . | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: nelonoel/branch-name@v1.0.1 | |
- name: Build and tag the image for testing and release | |
run: >- | |
docker build . | |
--file Dockerfile | |
--tag tol-lab-share:pytest | |
- name: Run tests against the image | |
run: >- | |
docker run | |
--entrypoint '' | |
tol-lab-share:pytest | |
python -m pytest -vx --cov=. | |