Skip to content

CICD Tools - Add additional Electron Forge config convention #786

CICD Tools - Add additional Electron Forge config convention

CICD Tools - Add additional Electron Forge config convention #786

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@d632683dd7b4114ad314bca15554477dd762a938 # actions/[email protected]
- uses: actions/setup-python@f677139bbe7f9c59b41e40162b753c062f5d49a3 # 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@2cdf405574d6ef1f33a1d12acccd3ae82f47b3f2 # 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