Skip to content

Commit

Permalink
Merge branch 'clarify-steps'
Browse files Browse the repository at this point in the history
  • Loading branch information
PeterJCLaw committed Apr 7, 2024
2 parents 53fcce1 + bbf436f commit 56ccd4a
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,29 +15,40 @@ jobs:
python: [3.9, "3.10", "3.11"]
steps:
- uses: actions/checkout@v4

- name: Set up Python ${{ matrix.python }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python }}

- name: Create virtualenv
run: python3 -m venv venv

- uses: actions/cache@v3
with:
path: venv/
key: ${{ runner.os }}-${{ matrix.python }}-pip-${{ hashFiles('requirements.txt') }}-${{ hashFiles('requirements-dev.txt') }}

- name: Use virtualenv
run: source venv/bin/activate

- name: Install dependencies
run: pip install -r requirements.txt -r requirements-dev.txt

- name: Use the dev configuration
run: cp helpdesk/helpdesk/configuration.dev.py helpdesk/helpdesk/configuration.py

- name: Static type checking
run: make type

- name: Formatting
run: make format-check

- name: Lint
run: make lint

- name: Unit tests
run: make test

- name: Django Static Checks
run: make check

0 comments on commit 56ccd4a

Please sign in to comment.