Skip to content

Commit 9d780af

Browse files
committed
Move workflow to correct folder
1 parent e139925 commit 9d780af

File tree

2 files changed

+19
-16
lines changed

2 files changed

+19
-16
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: 18 additions & 11 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,23 +32,31 @@ 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:
5052
python-version: ${{ matrix.python_version }}
53+
- name: Checkout upstream SQLMesh
54+
uses: actions/checkout@v4
55+
with:
56+
name: TobikoData/sqlmesh
57+
ref: refs/heads/main
58+
- name: Adjust
59+
run: mv sqlmesh _sqlmesh_upstream
5160
- name: Run Unit Tests
5261
run: make test
5362

@@ -58,17 +67,15 @@ jobs:
5867
timeout-minutes: 30
5968
permissions:
6069
contents: "read"
61-
id-token: "write"
6270
concurrency:
6371
group: ${{ github.workflow }}-${{ github.ref_name }}-integration-tests
6472
cancel-in-progress: true
6573
steps:
74+
- name: Checkout
75+
uses: actions/checkout@v4
6676
- name: Setup Base
6777
uses: ./.github/actions/setup-base
6878
- name: Setup Docker
69-
id: docker
7079
uses: docker/setup-docker-action@v4
71-
- name: Install dependencies
72-
run: make install
7380
- name: Run Integration Tests
7481
run: make integration-test

0 commit comments

Comments
 (0)