Skip to content
Closed
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
35 changes: 29 additions & 6 deletions .github/workflows/ci-shape-linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,32 @@ concurrency:
cancel-in-progress: true

jobs:
linux:
name: Linux
uses: ./.github/workflows/reusable-shape-test.yml
with:
os: ubuntu-latest
python-version: "3.13"
linux-test:
name: linux-test
runs-on: ubuntu-latest
timeout-minutes: 60

defaults:
run:
shell: bash -e {0}

steps:
- name: Checkout repository
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # ratchet:actions/checkout@v7.0.0
with:
lfs: true # Ensure Git LFS assets (like model files/weights) are fully downloaded

- name: Set up Python 3.13
uses: actions/setup-python@v5
with:
python-version: "3.13"
cache: "pip"

- name: Install gnm-shape package (Editable Mode with all framework extras and dev dependencies)
run: |
python -m pip install --upgrade pip
python -m pip install -e "./gnm/shape[all,dev]"

- name: Run unit tests
run: |
python gnm/shape/run_all_tests.py
35 changes: 29 additions & 6 deletions .github/workflows/ci-shape-macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,32 @@ concurrency:
cancel-in-progress: true

jobs:
macos:
name: macOS
uses: ./.github/workflows/reusable-shape-test.yml
with:
os: macos-latest
python-version: "3.13"
macos-test:
name: macos-test
runs-on: macos-latest
timeout-minutes: 60

defaults:
run:
shell: bash -e {0}

steps:
- name: Checkout repository
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # ratchet:actions/checkout@v7.0.0
with:
lfs: true # Ensure Git LFS assets (like model files/weights) are fully downloaded

- name: Set up Python 3.13
uses: actions/setup-python@v5
with:
python-version: "3.13"
cache: "pip"

- name: Install gnm-shape package (Editable Mode with all framework extras and dev dependencies)
run: |
python -m pip install --upgrade pip
python -m pip install -e "./gnm/shape[all,dev]"

- name: Run unit tests
run: |
python gnm/shape/run_all_tests.py
35 changes: 29 additions & 6 deletions .github/workflows/ci-shape-windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,32 @@ concurrency:
cancel-in-progress: true

jobs:
windows:
name: Windows
uses: ./.github/workflows/reusable-shape-test.yml
with:
os: windows-latest
python-version: "3.13"
windows-test:
name: windows-test
runs-on: windows-latest
timeout-minutes: 60

defaults:
run:
shell: bash -e {0}

steps:
- name: Checkout repository
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # ratchet:actions/checkout@v7.0.0
with:
lfs: true # Ensure Git LFS assets (like model files/weights) are fully downloaded

- name: Set up Python 3.13
uses: actions/setup-python@v5
with:
python-version: "3.13"
cache: "pip"

- name: Install gnm-shape package (Editable Mode with all framework extras and dev dependencies)
run: |
python -m pip install --upgrade pip
python -m pip install -e "./gnm/shape[all,dev]"

- name: Run unit tests
run: |
python gnm/shape/run_all_tests.py
2 changes: 1 addition & 1 deletion .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ concurrency:
jobs:
# Run linters and formatters matching Google's internal style
lint:
name: Lint and Format Check
name: lint-and-format-check
runs-on: ubuntu-latest
timeout-minutes: 60

Expand Down
43 changes: 0 additions & 43 deletions .github/workflows/reusable-shape-test.yml

This file was deleted.

Binary file modified gnm/shape/data/versions/v3_0/gnm_head.npz
Binary file not shown.
Loading