Repository navigation
OSDC: Pin Karpenter node AMIs to v20260923 to stop kernel panics (#1139) #1897
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: "OSDC: Test" | |
| on: | |
| push: | |
| branches: [main] | |
| paths: | |
| - "osdc/**" | |
| - ".github/workflows/osdc-test.yml" | |
| # osdc/scripts/python/test_plan_prod_paths.py reads these. | |
| - ".github/workflows/osdc-plan-prod.yml" | |
| - ".github/workflows/_osdc-plan.yml" | |
| pull_request: | |
| paths: | |
| - "osdc/**" | |
| - ".github/workflows/osdc-test.yml" | |
| # osdc/scripts/python/test_plan_prod_paths.py reads these. | |
| - ".github/workflows/osdc-plan-prod.yml" | |
| - ".github/workflows/_osdc-plan.yml" | |
| permissions: | |
| contents: read | |
| concurrency: | |
| group: osdc-test-${{ github.ref }} | |
| cancel-in-progress: true | |
| defaults: | |
| run: | |
| working-directory: osdc | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 10 | |
| steps: | |
| - uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1 | |
| - name: Install just | |
| uses: extractions/setup-just@f8a3cce218d9f83db3a2ecd90e41ac3de6cdfd9b # v3.1.0 | |
| - name: Install mise | |
| uses: jdx/mise-action@c37c93293d6b742fc901e1406b8f764f6fb19dac # v2.4.4 | |
| with: | |
| version: "2026.5.11" | |
| install: true | |
| working_directory: osdc | |
| - name: Install Python dependencies | |
| run: uv sync | |
| - name: Run tests | |
| run: just test |