Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 1 addition & 5 deletions .github/actions/setup-base/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,11 @@ inputs:
python-version:
description: "Python version to use"
required: false
default: 3.12
default: '3.12'

runs:
using: "composite"
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Setup Python
uses: actions/setup-python@v5
with:
Expand Down
30 changes: 17 additions & 13 deletions .github/ci.workflow.yaml → .github/workflows/ci.workflow.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,12 @@ jobs:
timeout-minutes: 30
permissions:
contents: "read"
id-token: "write"
concurrency:
group: ${{ github.workflow }}-${{ github.ref_name }}-style
cancel-in-progress: true
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Base
uses: ./.github/actions/setup-base
- name: Check style
Expand All @@ -31,19 +32,20 @@ jobs:
timeout-minutes: 30
permissions:
contents: "read"
id-token: "write"
concurrency:
group: ${{ github.workflow }}-${{ github.ref_name }}-unit-tests-${{ matrix.python_version }}
cancel-in-progress: true
strategy:
matrix:
python_version:
- 3.9
- 3.10
- 3.11
- 3.12
- 3.13
- '3.9'
- '3.10'
- '3.11'
- '3.12'
- '3.13'
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Base
uses: ./.github/actions/setup-base
with:
Expand All @@ -58,17 +60,19 @@ jobs:
timeout-minutes: 30
permissions:
contents: "read"
id-token: "write"
concurrency:
group: ${{ github.workflow }}-${{ github.ref_name }}-integration-tests
cancel-in-progress: true
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Base
uses: ./.github/actions/setup-base
- name: Setup Docker
id: docker
uses: docker/setup-docker-action@v4
- name: Install dependencies
run: make install
- name: Checkout upstream SQLMesh
uses: actions/checkout@v4
with:
repository: TobikoData/sqlmesh
ref: refs/heads/main
path: _sqlmesh_upstream
- name: Run Integration Tests
run: make integration-test