From c46a9411f01f6b9bf916538b95ecd398a908f1e4 Mon Sep 17 00:00:00 2001 From: Alexander Indenbaum Date: Wed, 8 Nov 2023 00:48:23 +0200 Subject: [PATCH] github actions: extract 'Run protoc' step Signed-off-by: Alexander Indenbaum --- .github/workflows/build-container.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build-container.yml b/.github/workflows/build-container.yml index 884f44f7..19f6a1eb 100644 --- a/.github/workflows/build-container.yml +++ b/.github/workflows/build-container.yml @@ -136,11 +136,14 @@ jobs: echo "💁 ls rbd:" make exec SVC=ceph OPTS="-T" CMD="rbd ls rbd" + - name: Run protoc + run: | + make protoc + - name: Run ${{ matrix.test }} test run: | # Run tests code in current dir # Managing pytest’s output: https://docs.pytest.org/en/7.1.x/how-to/output.html - make protoc make run SVC="nvmeof-devel" OPTS="--volume=$(pwd)/tests:/src/tests --entrypoint=python3" CMD="-m pytest --show-capture=all -s --full-trace -vv -rA tests/test_${{ matrix.test }}.py" - name: Check coredump existence