Skip to content

libcoveweb2: Switch to released code #503

libcoveweb2: Switch to released code

libcoveweb2: Switch to released code #503

Workflow file for this run

name: Test
on: [push, pull_request]
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
# Match live server
python-version: [ '3.9']
steps:
- uses: actions/checkout@v2
- name: Setup python
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
architecture: x64
- uses: actions/cache@v1
with:
path: ~/.cache/pip
key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements_dev.txt') }}-${{ matrix.python-version }}
restore-keys: |
${{ runner.os }}-pip-
- name: Install requirements_dev.txt
run: pip install -r requirements_dev.txt
- name: Test
run: python -m pytest cove_ofds/
env:
DJANGO_SETTINGS_MODULE: cove_project.settings
CELERY_BROKER_URL: memory://