Skip to content

fix: a few fixes for dockerhub #33

fix: a few fixes for dockerhub

fix: a few fixes for dockerhub #33

Workflow file for this run

name: coverage
on: [push]
jobs:
test:
name: coverage
runs-on: ubuntu-24.04
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Create k8s Kind Cluster
uses: helm/kind-action@v1
- name: Create secret
run: |
ssh-keygen -t rsa -b 4096 -f /tmp/id_rsa <<< y
kubectl create ns myns
kubectl create secret generic ssh-key -n myns --from-file=ssh-privatekey=/tmp/id_rsa
- name: Install Rust
uses: actions-rs/toolchain@v1
with:
toolchain: stable
target: x86_64-unknown-linux-gnu
override: true
- name: Generate code coverage
run: |
cargo install cargo-tarpaulin
cargo tarpaulin --verbose --all-features --workspace --timeout 120 --out xml
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v5
with:
token: ${{ secrets.CODECOV_TOKEN }}
slug: kainlite/gitops-operator