Skip to content

Bump the actions group with 3 updates #252

Bump the actions group with 3 updates

Bump the actions group with 3 updates #252

name: Orchestrator Unit Tests
on:
pull_request:
paths:
- "orchestrator/**"
- ".github/workflows/test_orchestrator.yml"
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # actions/[email protected]
- name: setup python environment
uses: actions/setup-python@f677139bbe7f9c59b41e40162b753c062f5d49a3 # actions/[email protected]
with:
python-version: "3.9"
architecture: "x64"
cache: pipenv
cache-dependency-path: orchestrator/Pipfile.lock
- uses: hashicorp/setup-terraform@b9cd54a3c349d3f38e8881555d616ced269862dd # hashicorp/[email protected]
- name: Install Test Dependencies
# Setuptools v74 is incompatible with our version of packaging, so we restrict it
# as well as virtualenv which bundles setuptools in new environments.
run: |
pip install --upgrade pipenv wheel 'setuptools<74' 'virtualenv==20.26.3'
- name: Run code style tests
run: make -C orchestrator style-test ENV=example
- name: Run orchestrator tests
run: |
make -C orchestrator unit-test ENV=example