Skip to content

Commit 6331801

Browse files
authored
Chore: Make CI actually work (#3)
1 parent e139925 commit 6331801

File tree

2 files changed

+18
-18
lines changed

2 files changed

+18
-18
lines changed

.github/actions/setup-base/action.yaml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,11 @@ inputs:
44
python-version:
55
description: "Python version to use"
66
required: false
7-
default: 3.12
7+
default: '3.12'
88

99
runs:
1010
using: "composite"
1111
steps:
12-
- name: Checkout
13-
uses: actions/checkout@v4
14-
with:
15-
fetch-depth: 0
1612
- name: Setup Python
1713
uses: actions/setup-python@v5
1814
with:
Lines changed: 17 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,12 @@ jobs:
1414
timeout-minutes: 30
1515
permissions:
1616
contents: "read"
17-
id-token: "write"
1817
concurrency:
1918
group: ${{ github.workflow }}-${{ github.ref_name }}-style
2019
cancel-in-progress: true
2120
steps:
21+
- name: Checkout
22+
uses: actions/checkout@v4
2223
- name: Setup Base
2324
uses: ./.github/actions/setup-base
2425
- name: Check style
@@ -31,19 +32,20 @@ jobs:
3132
timeout-minutes: 30
3233
permissions:
3334
contents: "read"
34-
id-token: "write"
3535
concurrency:
3636
group: ${{ github.workflow }}-${{ github.ref_name }}-unit-tests-${{ matrix.python_version }}
3737
cancel-in-progress: true
3838
strategy:
3939
matrix:
4040
python_version:
41-
- 3.9
42-
- 3.10
43-
- 3.11
44-
- 3.12
45-
- 3.13
41+
- '3.9'
42+
- '3.10'
43+
- '3.11'
44+
- '3.12'
45+
- '3.13'
4646
steps:
47+
- name: Checkout
48+
uses: actions/checkout@v4
4749
- name: Setup Base
4850
uses: ./.github/actions/setup-base
4951
with:
@@ -58,17 +60,19 @@ jobs:
5860
timeout-minutes: 30
5961
permissions:
6062
contents: "read"
61-
id-token: "write"
6263
concurrency:
6364
group: ${{ github.workflow }}-${{ github.ref_name }}-integration-tests
6465
cancel-in-progress: true
6566
steps:
67+
- name: Checkout
68+
uses: actions/checkout@v4
6669
- name: Setup Base
6770
uses: ./.github/actions/setup-base
68-
- name: Setup Docker
69-
id: docker
70-
uses: docker/setup-docker-action@v4
71-
- name: Install dependencies
72-
run: make install
71+
- name: Checkout upstream SQLMesh
72+
uses: actions/checkout@v4
73+
with:
74+
repository: TobikoData/sqlmesh
75+
ref: refs/heads/main
76+
path: _sqlmesh_upstream
7377
- name: Run Integration Tests
7478
run: make integration-test

0 commit comments

Comments
 (0)