forked from pacti-org/pacti
-
Notifications
You must be signed in to change notification settings - Fork 0
45 lines (42 loc) · 1.16 KB
/
pacti_dev_review.yml
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
40
41
42
43
44
on:
workflow_dispatch:
name: Pacti Development Review
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
max-parallel: 4
matrix:
os: [ubuntu-latest]
python-version: ["3.10"]
steps:
- uses: actions/checkout@v3
- name: Setup PDM
uses: pdm-project/setup-pdm@main
with:
python-version: ${{ matrix.python-version }}
architecture: x64
enable-pep582: true
- name: Install dependencies
run: pdm install
- name: Test code
run: make test
- name: Compute Coverage
run: make coverage
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v3
with:
token: ${{ secrets.CODECOV_TOKEN }}
name: codecov-pacti
fail_ci_if_error: true
files: htmlcov/*
verbose: true
- name: Check types
run: make check-types
- name: Run linters on code
run: make check-quality
- name: Check types on Jupyter notebooks
run: make check-jn-types
- name: Run linters on Jupyter notebooks
run: make check-jn-quality