Skip to content

Do not return error on not found for delete operations (#628) #2721

Do not return error on not found for delete operations (#628)

Do not return error on not found for delete operations (#628) #2721

Workflow file for this run

name: Test
on: push
jobs:
unit:
name: Unit tests
runs-on: ubuntu-20.04
steps:
- name: Set up Go
uses: actions/setup-go@v1
with:
go-version: '1.20'
- name: Checkout
uses: actions/checkout@v2
- name: Restore cache
uses: actions/cache@v2
with:
path: ~/go/pkg/mod
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
- name: Run tests
run: |
make run/unit-tests
- name: Upload coverage to Codecov
run: bash <(curl -s https://codecov.io/bash)
integration:
name: Integration tests
runs-on: ubuntu-20.04
steps:
- name: Set up Go
uses: actions/setup-go@v1
with:
go-version: '1.20'
- name: Checkout
uses: actions/checkout@v2
- name: Restore cache
uses: actions/cache@v2
with:
path: ~/go/pkg/mod
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
- name: Run tests
run: |
make run/integration-tests
- name: Upload coverage to Codecov
run: bash <(curl -s https://codecov.io/bash)
runtime-integration:
name: Runtime Integration tests
runs-on: ubuntu-20.04
strategy:
fail-fast: false
matrix:
k3s-version: [v1.19.11, v1.20.7, v1.21.1]
env:
K3S_VERSION: ${{ matrix.k3s-version }}
steps:
- name: Set up Go
uses: actions/setup-go@v1
with:
go-version: '1.20'
- name: Checkout
uses: actions/checkout@v2
- name: Restore cache
uses: actions/cache@v2
with:
path: ~/go/pkg/mod
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
- name: Run tests
run: |
make run/runtime-integration-tests