Skip to content

Ok

Ok #55

Workflow file for this run

name: Tests
on:
push:
workflow_dispatch:
jobs:
tests:
name: "Tests"
runs-on: ubuntu-latest
strategy:
matrix:
settings: ['postgresql',]
python: ['3.9']
steps:
- name: Checkout the repo
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python }}
cache: 'pipenv'
- id: install-pipenv
name: Install pipenv
run: curl https://raw.githubusercontent.com/pypa/pipenv/master/get-pipenv.py | python
shell: bash
- id: install-python-dependencies
name: Install Python dependencies
run: pipenv sync --dev
shell: bash
- name: Set up PostgreSQL
uses: harmon758/postgresql-action@v1
with:
postgresql version: '11'
postgresql: calaccess_scraped
postgresql user: postgres
postgresql password: postgres
- name: Test
run: |
cp example/project/settings_${{ matrix.settings }}.py.template example/project/settings_local.py
make test