Skip to content

Merge pull request #228 from timkpaine/dependabot/github_actions/code… #60

Merge pull request #228 from timkpaine/dependabot/github_actions/code…

Merge pull request #228 from timkpaine/dependabot/github_actions/code… #60

Workflow file for this run

name: Build Status
on:
push:
branches:
- main
pull_request:
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest]
python-version: [3.9]
event-name: [push]
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
sudo apt-get install graphviz xvfb
python -m pip install -r requirements.txt
python -m pip install -e .[dev]
- name: Test
run: |
xvfb-run --auto-servernum make tests
if: ${{ matrix.os == 'ubuntu-latest' }}
- name: Upload coverage
uses: codecov/codecov-action@v5