Skip to content

Merge pull request #340 from Brown-University-Library/book_associatio… #59

Merge pull request #340 from Brown-University-Library/book_associatio…

Merge pull request #340 from Brown-University-Library/book_associatio… #59

Workflow file for this run

name: CI tests
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
max-parallel: 4
matrix:
python-version: [3.8]
steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v1
with:
python-version: ${{ matrix.python-version }}
- uses: actions/cache@v2
with:
path: ~/.cache/pip
key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements/unit_tests.txt') }}
restore-keys: |
${{ runner.os }}-pip-
- name: Install Dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements/unit_tests.txt
- name: Run Tests
run: |
python run_tests.py