forked from steveberardi/starplot
-
Notifications
You must be signed in to change notification settings - Fork 0
59 lines (53 loc) · 1.32 KB
/
test.yml
File metadata and controls
59 lines (53 loc) · 1.32 KB
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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
name: Run Tests
on:
workflow_dispatch:
pull_request:
types: [opened, reopened, synchronize]
branches:
- main
- develop
schedule:
- cron: '0 12 * * *' # 1200 UTC = 0500 PT
jobs:
test-lint-build:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- name: Build Docker Image
run: make build
- name: Build sky.db
run: make db CI=true
- name: Check Lint
run: make lint CI=true
- name: Check Format
run: make format CI=true ARGS=--check
- name: Run Tests
run: make test CI=true
- name: Check Image Hashes
run: make check-hashes CI=true
- name: Build PIP Package
run: make flit-build
test-python-3-10:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- name: Run Tests - Python 3.10
run: make test-3.10 CI=true
test-python-3-11:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- name: Run Tests - Python 3.11
run: make test-3.11 CI=true
test-python-3-12:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- name: Run Tests - Python 3.12
run: make test-3.12 CI=true
test-python-3-13:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- name: Run Tests - Python 3.13
run: make test-3.13 CI=true