diff --git a/.github/actions/setup-base/action.yaml b/.github/actions/setup-base/action.yaml index cd6a3e5..ecfb9d7 100644 --- a/.github/actions/setup-base/action.yaml +++ b/.github/actions/setup-base/action.yaml @@ -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: diff --git a/.github/ci.workflow.yaml b/.github/workflows/ci.workflow.yaml similarity index 75% rename from .github/ci.workflow.yaml rename to .github/workflows/ci.workflow.yaml index e8d0067..c0c6b34 100644 --- a/.github/ci.workflow.yaml +++ b/.github/workflows/ci.workflow.yaml @@ -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 @@ -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: @@ -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 \ No newline at end of file