-
-
Notifications
You must be signed in to change notification settings - Fork 5
45 lines (38 loc) · 879 Bytes
/
build.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
45
name: "Build"
run-name: "Build ${{ github.ref_name }}"
on:
push:
branches: [ main, develop ]
pull_request:
branches: [ main, develop ]
schedule:
- cron: "0 9 * * *"
jobs:
build:
name: Build
strategy:
fail-fast: false
max-parallel: 3
matrix:
os: [ ubuntu-latest ]
python-version: [ "3.11" ]
include:
- python-version: "3.8"
os: ubuntu-20.04
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
- name: Set up Python 3.8
uses: actions/setup-python@v2
with:
python-version: 3.8
- name: Install dependencies
run:
make install
- name: Run tests
run:
make test
- name: Upload coverage
uses: codecov/codecov-action@v1
with:
directory: ./_build/coverage