Fix n+1 and write test for new selector #1330
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: CI | |
on: push | |
env: | |
COLUMNS: 120 | |
DJANGO_SETTINGS_MODULE: nest.settings | |
jobs: | |
ruff-format: | |
name: ruff format | |
uses: danielkjellid/github-actions/.github/workflows/python.yaml@main | |
with: | |
cmd: make lint-ruff-format | |
ruff-lint: | |
name: ruff lint | |
uses: danielkjellid/github-actions/.github/workflows/python.yaml@main | |
with: | |
cmd: make lint-ruff | |
mypy: | |
uses: danielkjellid/github-actions/.github/workflows/python.yaml@main | |
with: | |
cmd: make lint-mypy | |
eslint: | |
uses: danielkjellid/github-actions/.github/workflows/node.yaml@main | |
with: | |
cmd: make lint-eslint | |
prettier: | |
uses: danielkjellid/github-actions/.github/workflows/node.yaml@main | |
with: | |
cmd: make lint-prettier | |
tsc: | |
uses: danielkjellid/github-actions/.github/workflows/node.yaml@main | |
with: | |
cmd: make lint-tsc | |
lockfile-consistency: | |
name: lockfile consistency | |
uses: danielkjellid/github-actions/.github/workflows/python.yaml@main | |
with: | |
cmd: poetry lock --check | |
unused-dependencies: | |
name: unused dependencies | |
uses: danielkjellid/github-actions/.github/workflows/python.yaml@main | |
with: | |
cmd: poetry run deptry . | |
python-tests: | |
name: python tests | |
uses: danielkjellid/github-actions/.github/workflows/python.yaml@main | |
with: | |
cmd: poetry run pytest | |
postgres-db: nest | |
postgres-user: nest | |
postgres-password: nest | |
minio-bucket: dev:download # AWS_S3_BUCKET_NAME | |
minio-user: nest # AWS_ACCESS_KEY_ID | |
minio-password: nesttestpassword # AWS_SECRET_ACCESS_KEY | |
frontend-tests: | |
name: frontend tests | |
uses: danielkjellid/github-actions/.github/workflows/node.yaml@main | |
with: | |
cmd: npm test | |
python-missing-init: | |
name: missing __init__.py files | |
permissions: write-all | |
runs-on: ubuntu-20.04 | |
steps: | |
- uses: actions/checkout@v3 | |
- name: check for missing __init__.py files | |
uses: ljodal/python-actions/check-for-missing-init@feature/check-for-missing-init | |
with: | |
github-token: ${{ secrets.GITHUB_TOKEN }} | |
paths: nest | |
ci-done: | |
# Gather job which deploy workflow can wait on. | |
name: CI done | |
needs: | |
- ruff-format | |
- ruff-lint | |
- mypy | |
- eslint | |
- prettier | |
- tsc | |
- lockfile-consistency | |
- unused-dependencies | |
- python-tests | |
- frontend-tests | |
- python-missing-init | |
runs-on: ubuntu-20.04 | |
steps: | |
- run: echo "CI done!" |