Skip to content

Try again

Try again #54

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.8', '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'
- name: Set up PostgreSQL
uses: harmon758/postgresql-action@v1
with:
postgresql version: '11'
postgresql: calaccess_scraped
postgresql user: postgres
postgresql password: postgres
- id: install-pipenv
name: Install pipenv
run: curl https://raw.githubusercontent.com/pypa/pipenv/master/get-pipenv.py | python
shell: bash
- id: sync-pipfile
name: Sync pipfile
run: pipenv sync --dev
shell: bash
- name: Test
run: |
cp example/project/settings_${{ matrix.settings }}.py.template example/project/settings_local.py
make test