Skip to content

Merge pull request #8 from sown/clean-up-card-styling #59

Merge pull request #8 from sown/clean-up-card-styling

Merge pull request #8 from sown/clean-up-card-styling #59

Workflow file for this run

name: Tests
on:
push:
branches:
- "*"
pull_request:
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest]
python: ["3.10", "3.11", "3.12"]
steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python }}
uses: actions/setup-python@v1
with:
python-version: ${{ matrix.python }}
- name: Create virtualenv
run: python3 -m venv venv
- uses: actions/cache@v2
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 kmicms/kmicms/configuration.dev.py kmicms/kmicms/configuration.py
- name: Check Formatting
run: make format-check
- name: Lint
run: make lint
- name: Django Static Checks
run: make check
- name: Unit tests
run: make test