Skip to content

feat(api): Implement Pyro serializers for PipetteDict and OT3Config #32761

feat(api): Implement Pyro serializers for PipetteDict and OT3Config

feat(api): Implement Pyro serializers for PipetteDict and OT3Config #32761

name: 'G-Code-Confirm'
on:
# Run on any change to the api directory
pull_request:
paths:
- 'api/**'
- 'g-code-testing/**'
- 'Makefile'
push:
paths:
- 'api/**'
- 'g-code-testing/**'
- 'Makefile'
- '.github/workflows/g-code-confirm-tests.yaml'
branches:
- 'edge'
- 'release'
- '*hotfix*'
create:
tags:
- 'v*'
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}-${{ github.ref_name != 'edge' || github.run_id}}-${{ github.ref_type != 'tag' || github.run_id }}
cancel-in-progress: true
jobs:
confirm-g-code:
strategy:
fail-fast: false
matrix:
command: ['2-modules', 'swift-smoke', 'swift-turbo', 'omega', 'fast']
name: 'Confirm G-Code (${{ matrix.command }})'
runs-on: 'ubuntu-24.04'
steps:
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
with:
fetch-depth: 0
- uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6
with:
node-version: '12'
- uses: './.github/actions/python/setup-uv'
with:
project: 'g-code-testing'
- name: 'Verify no missing comparison files'
run: make -C g-code-testing check-for-missing-comparison-files
- name: 'Run & Compare to comparison files'
id: run_tests
run: make -C g-code-testing test-g-code-${{ matrix.command }} test_opts="-s"
- name: 'Upload test results'
if: failure() && steps.run_tests.conclusion == 'failure'
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4
with:
name: g-code-test-results-${{ matrix.command }}
path: g-code-testing/results
retention-days: 14