Copy runner file commands from workflow to runner pods #179
Workflow file for this run
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: CI - Build & Test | |
| on: | |
| pull_request: | |
| branches: | |
| - '*' | |
| paths-ignore: | |
| - '**.md' | |
| workflow_dispatch: | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - run: sed -i "s|{{PATHTOREPO}}|$(pwd)|" packages/k8s/tests/test-kind.yaml | |
| name: Setup kind cluster yaml config | |
| - uses: helm/[email protected] | |
| with: | |
| config: packages/k8s/tests/test-kind.yaml | |
| - name: Install Jobset | |
| run: | | |
| VERSION=v0.8.1 | |
| kubectl apply --server-side -f https://github.com/kubernetes-sigs/jobset/releases/download/$VERSION/manifests.yaml | |
| - run: npm install | |
| name: Install dependencies | |
| - run: npm run bootstrap | |
| name: Bootstrap the packages | |
| - run: npm run build-all | |
| name: Build packages | |
| - run: npm run format-check | |
| - name: Check linter | |
| run: | | |
| npm run lint | |
| git diff --exit-code -- ':!packages/k8s/tests/test-kind.yaml' | |
| - name: Run tests | |
| run: npm run test |