hotfix #37
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 actions | |
on: [pull_request] | |
jobs: | |
install: | |
name: Install | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: ./.github/actions/setup | |
name: Setup | |
- name: Install dependencies | |
run: poetry install | |
lint: | |
needs: [install] | |
name: Lint | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: ./.github/actions/setup | |
name: Setup | |
- name: Check formatting with Black | |
run: poetry run black --check --diff . | |
- name: Check imports with isort | |
run: poetry run isort --check --diff . | |
- name: Lint with flake8 | |
run: poetry run flake8 . --count --statistics --show-source | |
test: | |
needs: [install] | |
name: Test | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Setup | |
uses: ./.github/actions/setup | |
- name: Dummy test script | |
run: echo "OK" |