forked from pygraphviz/pygraphviz
-
Notifications
You must be signed in to change notification settings - Fork 0
39 lines (30 loc) · 947 Bytes
/
coverage.yml
File metadata and controls
39 lines (30 loc) · 947 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
name: coverage
on: [push, pull_request]
jobs:
ubuntu:
runs-on: Ubuntu-22.04
strategy:
matrix:
python-version: ["3.12"]
steps:
- name: Checkout pygraphviz
uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Update apt-get
run: sudo apt-get update
- name: Install graphviz
run: sudo apt-get install graphviz graphviz-dev
- name: Install packages
run: |
pip install --upgrade pip wheel setuptools
pip install -r requirements/doc.txt
pip install -r requirements/test.txt
pip install -e .
pip list
- name: Coverage report for pygraphviz
run: |
pytest --cov=pygraphviz --doctest-modules --durations=10 --pyargs pygraphviz
codecov