Skip to content

add dependencies between workflows #2

add dependencies between workflows

add dependencies between workflows #2

Workflow file for this run

name: formatting tests
on:
push:
branches: [ develop ]
pull_request:
branches: [ develop ]
concurrency:
group: unit_tests-${{github.ref}}-${{github.event.pull_request.number || github.run_number}}
cancel-in-progress: true
jobs:
formatting:
runs-on: [ubuntu-latest]
steps:
- uses: actions/checkout@v2
- name: Set up Python 3.9
uses: actions/setup-python@v2
with:
python-version: 3.9
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install flake8 pytest
- name: Update black
run: |
pip install --upgrade black
- name: Lint and Format Check with flake8 and black
run: |
black --diff --check .
flake8