From bbf436ff3ff2b44a553fee6d72407523c2c7eb54 Mon Sep 17 00:00:00 2001 From: Peter Law Date: Sat, 6 Apr 2024 20:32:41 +0100 Subject: [PATCH] Inject space between steps for visual clarity --- .github/workflows/test.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 1f3555e..160b2da 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -15,27 +15,37 @@ 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: Lint run: make lint + - name: Unit tests run: make test + - name: Django Static Checks run: make check