diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 56fa2f6..5b30288 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -166,6 +166,21 @@ jobs: minikube kubectl -- get pods -o wide ( make VERBOSE=1 _check_affinity && ( echo "FAILED: negative test succeeded with cni='${CNI}' nodes='${NODES}' when it should have failed!" && exit 1 ) ) || true + - name: "Performance test nodes='${{ matrix.combination.nodes }}' cni='${{ matrix.combination.cni }}'..." + env: + CNI: ${{matrix.combination.cni}} + NODES: ${{matrix.combination.nodes}} + run: | + cd sfunnel/test/cni/ + make VERBOSE=1 _check_perf + + #Create the markdown report (TODO improve txt) + echo "# Performance report" >> $GITHUB_OUTPUT + echo "CNI: ${CNI}" >> $GITHUB_OUTPUT + echo "Number of nodes: ${NODES}" >> $GITHUB_OUTPUT + echo "## Results" >> $GITHUB_OUTPUT + cat .last_perf_report.txt >> $GITHUB_OUTPUT + docker_build_test_publish: needs: [check_unit, check_cni_example] runs-on: ubuntu-22.04