empty commit, github doesnt find poetry lock diff #1004
Workflow file for this run
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: Code Quality | |
on: push | |
jobs: | |
black: | |
runs-on: ubuntu-latest | |
timeout-minutes: 10 | |
steps: | |
- name: Check out repository code | |
uses: actions/checkout@v2 | |
# Setup Python (faster than using Python container) | |
- name: Setup Python | |
uses: actions/setup-python@v2 | |
with: | |
python-version: "3.10" | |
- name: Install libpq-dev | |
run: sudo apt-get install -y libpq-dev | |
- name: Install poetry | |
uses: Gr1N/setup-poetry@v8 | |
# run poetry install if the poetry lock has changed | |
- name: Install dependencies | |
if: steps.cache-poetry.outputs.cache-hit != 'true' | |
run: poetry install --no-interaction --no-root | |
- name: Code Quality | |
run: poetry run black . --check | |
mypy_orderly: | |
runs-on: ubuntu-latest | |
timeout-minutes: 10 | |
strategy: | |
fail-fast: false | |
matrix: | |
strict: ["", "--strict"] | |
steps: | |
- name: Check out repository code | |
uses: actions/checkout@v2 | |
# Setup Python (faster than using Python container) | |
- name: Setup Python | |
uses: actions/setup-python@v2 | |
with: | |
python-version: "3.10" | |
- name: Install libpq-dev | |
run: sudo apt-get install -y libpq-dev | |
- name: Install poetry | |
uses: Gr1N/setup-poetry@v8 | |
# run poetry install if the poetry lock has changed | |
- name: Install dependencies | |
if: steps.cache-poetry.outputs.cache-hit != 'true' | |
run: poetry install --no-interaction --no-root | |
- name: Code Quality | |
run: | | |
poetry run python -m mypy . --explicit-package-bases --ignore-missing-imports ${{ matrix.strict }} --exclude condition_prediction | |
mypy_condition_prediction: | |
runs-on: ubuntu-latest | |
timeout-minutes: 10 | |
strategy: | |
fail-fast: false | |
# matrix: | |
# strict: ["", "--strict"] | |
steps: | |
- name: Check out repository code | |
uses: actions/checkout@v2 | |
# Setup Python (faster than using Python container) | |
- name: Setup Python | |
uses: actions/setup-python@v2 | |
with: | |
python-version: "3.10" | |
- name: Install poetry | |
uses: Gr1N/setup-poetry@v8 | |
# run poetry install if the poetry lock has changed | |
- name: Install dependencies | |
if: steps.cache-poetry.outputs.cache-hit != 'true' | |
working-directory: condition_prediction | |
run: poetry install --no-interaction | |
- name: Code Quality | |
working-directory: condition_prediction | |
run: poetry run python -m mypy . --explicit-package-bases --ignore-missing-imports |