-
Notifications
You must be signed in to change notification settings - Fork 8
39 lines (37 loc) · 828 Bytes
/
test.yml
File metadata and controls
39 lines (37 loc) · 828 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: Test
on:
pull_request:
push:
branches:
- main
tags:
- '*'
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Setup Miniconda
uses: conda-incubator/setup-miniconda@v3
with:
auto-update-conda: true
auto-activate-base: false
- name: Install dependencies
shell: bash -l {0}
run: |
make conda-install
- name: Lint code with pre-commit
shell: bash -l {0}
run: |
make lint
- name: Install numba_rvsdg with pip
shell: bash -l {0}
run: |
make build
- name: Run pytest and print coverage Report
shell: bash -l {0}
run: |
make test