Skip to content

PoC: Create an Api::dynamic and Api::cluster + scope constrain Api::all #1865

PoC: Create an Api::dynamic and Api::cluster + scope constrain Api::all

PoC: Create an Api::dynamic and Api::cluster + scope constrain Api::all #1865

Workflow file for this run

name: coverage
on:
push:
branches:
- main
pull_request:
paths:
- '**.rs'
- '**.toml'
- '**.yml'
jobs:
tarpaulin-codecov:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install stable toolchain
uses: actions-rs/toolchain@v1
with:
toolchain: stable
override: true
- uses: Swatinem/rust-cache@v2
- uses: AbsaOSS/k3d-action@v2
name: "Create Single Cluster"
with:
cluster-name: "test-cluster-1"
args: >-
--agents 1
--image docker.io/rancher/k3s:v1.23.4-k3s1
--k3s-arg "--no-deploy=traefik,servicelb,metrics-server@server:*"
- name: Run cargo-tarpaulin
uses: actions-rs/[email protected]
with:
version: '0.18.5'
out-type: Xml
- uses: codecov/codecov-action@v3