-
-
Notifications
You must be signed in to change notification settings - Fork 11
58 lines (52 loc) · 1.32 KB
/
test.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
46
47
48
49
50
51
52
53
54
55
56
57
58
name: Run Tests
on:
workflow_dispatch:
pull_request:
types: [opened, reopened, synchronize]
branches:
- main
- develop
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
# Python 3.13 not supported yet, needs investigation!
# 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