Skip to content

chore(ci): CG-10672 add back 3.13 mac build #302

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
# yaml-language-server: $schema=https://json.schemastore.org/github-action.json
name: "Setup Graph Sitter"
description: "Setup Graph Sitter"
name: "Setup Environment"
description: "Setup Environment"
inputs:
python-version:
required: false
Expand All @@ -9,11 +8,6 @@ inputs:
runs:
using: "composite"
steps:
# - name: ccache
# uses: hendrikmuhs/[email protected]
# with:
# create-symlink: true
# key: ${{ runner.os }}
- name: Install UV
uses: astral-sh/[email protected]
id: setup-uv
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/cache-warm-up.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
ref: develop # Ensure we're operating on the 'develop' branch

- name: Setup backend
uses: ./.github/actions/setup-backend
uses: ./.github/actions/setup-environment

warm-up-cache:
runs-on: ubuntu-latest
Expand All @@ -47,7 +47,7 @@ jobs:
ref: develop # Ensure we're operating on the 'develop' branch

- name: Setup backend
uses: ./.github/actions/setup-backend
uses: ./.github/actions/setup-environment

- name: Cache oss-repos
uses: ./.github/actions/setup-oss-repos
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/mypy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
fetch-depth: 0

- name: Setup backend
uses: ./.github/actions/setup-backend
uses: ./.github/actions/setup-environment

- name: Get changed files
id: changed-files
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pre-commit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
token: ${{ secrets.REPO_SCOPED_TOKEN }}

- name: Setup backend
uses: ./.github/actions/setup-backend
uses: ./.github/actions/setup-environment

- name: Setup-pre-commit
run: uv tool install pre-commit --with pre-commit-uv --force-reinstall
Expand Down
28 changes: 16 additions & 12 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Release
name: Build & Release

on:
push:
Expand All @@ -16,7 +16,7 @@ permissions:

jobs:
build:
name: Build ${{ matrix.os }}
name: Build 3.${{ matrix.python }} ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
Expand All @@ -26,9 +26,13 @@ jobs:
ubuntu-24.04-arm,
macos-latest,
]
python: [
12,
13,
]

steps:
- name: Dump GitHub context
- name: Github context
env:
GITHUB_CONTEXT: ${{ toJson(github) }}
run: echo "$GITHUB_CONTEXT"
Expand All @@ -38,12 +42,12 @@ jobs:
fetch-depth: 0
ref: ${{ github.event.pull_request.head.ref || github.ref }}

- name: Setup backend
uses: ./.github/actions/setup-backend
- name: Setup environment
uses: ./.github/actions/setup-environment
with:
python-version: "3.12"
python-version: 3.${{ matrix.python }}

- name: Get history and tags for SCM versioning to work
- name: Fetch tags
run: |
git branch
git fetch --depth=1 origin +refs/tags/*:refs/tags/*
Expand All @@ -53,13 +57,13 @@ jobs:
uses: pypa/[email protected]
env:
HATCH_BUILD_HOOKS_ENABLE: true
CIBW_SKIP: '{cp313-macosx_*,*i686*,*musllinux*}'

CIBW_BUILD: "*cp3${{ matrix.python }}*"
CIBW_SKIP: '{*i686*,*musllinux*}'

- uses: actions/upload-artifact@v4
with:
name: wheels-${{ matrix.os }}
path: dist/
name: wheels-${{ matrix.os }}-3.${{ matrix.python }}
path: ./wheelhouse/*.whl

release:
if: startsWith(github.ref, 'refs/tags/')
Expand All @@ -70,7 +74,7 @@ jobs:
- uses: actions/checkout@v4

- name: Setup backend
uses: ./.github/actions/setup-backend
uses: ./.github/actions/setup-environment

- name: Download All Artifacts
uses: actions/download-artifact@v4
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/unit-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
with:
fetch-depth: 0
- name: Setup backend
uses: ./.github/actions/setup-backend
uses: ./.github/actions/setup-environment
- name: Run ATS and Tests
uses: ./.github/actions/run_ats
timeout-minutes: 15
Expand Down Expand Up @@ -49,7 +49,7 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: Setup backend
uses: ./.github/actions/setup-backend
uses: ./.github/actions/setup-environment
- name: Cache oss-repos
uses: ./.github/actions/setup-oss-repos
- name: Run ATS and Tests
Expand All @@ -72,7 +72,7 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: Setup backend
uses: ./.github/actions/setup-backend
uses: ./.github/actions/setup-environment

- name: Cache oss-repos
uses: ./.github/actions/setup-oss-repos
Expand Down Expand Up @@ -136,7 +136,7 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: Setup backend
uses: ./.github/actions/setup-backend
uses: ./.github/actions/setup-environment
- name: Test with pytest
timeout-minutes: 5
env:
Expand Down