Skip to content

eslint/detekt: Clean up type hints and lint warnings #800

eslint/detekt: Clean up type hints and lint warnings

eslint/detekt: Clean up type hints and lint warnings #800

Workflow file for this run

name: Backend Unit Tests
on:
pull_request:
paths:
- "backend/**"
- ".github/workflows/test_backend.yml"
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # actions/[email protected]
- uses: actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b # actions/[email protected]
with:
python-version: "3.9"
cache: pipenv
cache-dependency-path: backend/Pipfile.lock
- uses: hashicorp/setup-terraform@b9cd54a3c349d3f38e8881555d616ced269862dd # hashicorp/[email protected]
- uses: actions/cache@6849a6489940f00c2f30c0fb92c6274307ccb58a # actions/[email protected]
with:
# Tool versions are defined in the Makefile.
key: backend-unit-test-tools-${{ runner.os }}-${{ runner.arch }}-${{ hashFiles('backend/Makefile') }}
path: backend/.temp
- name: Install Test Dependencies
run: |
pip install --upgrade pipenv wheel
- name: Run code style tests
run: make -C backend style-test ENV=example
- name: Run backend tests
run: make -C backend unit-test ENV=example