Skip to content

Merge pull request #28 from columbia-it/dependabot/pip/djangorestfram… #61

Merge pull request #28 from columbia-it/dependabot/pip/djangorestfram…

Merge pull request #28 from columbia-it/dependabot/pip/djangorestfram… #61

Workflow file for this run

# https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python
name: Test
on:
# only runs tests if pushed directly to master branch and for any PR
push:
branches:
- master
pull_request:
jobs:
build:
runs-on: ubuntu-latest
strategy:
fail-fast: false
max-parallel: 5
matrix:
python-version: ["3.10", "3.11", "3.12"]
steps:
- uses: actions/checkout@v4
- name: Install graphviz
run: sudo apt-get install -y graphviz libgraphviz-dev
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install --upgrade tox tox-gh-actions
- name: Test with tox
run: tox -vv
- name: Upload coverage
uses: codecov/codecov-action@v4
with:
name: Python ${{ matrix.python-version }}