Update matrix test versions (#2250) #836
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: EKS Add-on Tests | |
| on: | |
| pull_request: | |
| push: | |
| branches: [ main ] | |
| jobs: | |
| eks-addon-tests: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| # TODO: Use ci-matrix.json instead | |
| k8s_version: ["1.28", "1.29", "1.30", "1.31", "1.32", "1.33"] | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v6 | |
| - name: Set up Helm | |
| uses: azure/setup-helm@v4 | |
| with: | |
| version: v3.19.0 | |
| - name: Install jq and yq | |
| run: | | |
| sudo apt-get update | |
| sudo apt-get install -y jq | |
| # Install mikefarah/yq instead of yq from apt-get, as the latter is outdated and has different syntax | |
| sudo wget -qO /usr/local/bin/yq https://github.com/mikefarah/yq/releases/latest/download/yq_linux_amd64 | |
| sudo chmod +x /usr/local/bin/yq | |
| - name: Run EKS Add-on tests | |
| env: | |
| K8S_VERSION: ${{ matrix.k8s_version }} | |
| run: ./eks_addon/run_tests.sh |