From 88909a57a3f1284a3d4bfa6f061d0132a455477a Mon Sep 17 00:00:00 2001 From: Robert Baldyga Date: Sun, 28 Dec 2025 18:55:36 +0100 Subject: [PATCH] github-actions: Functional tests per-PR Signed-off-by: Robert Baldyga --- .github/workflows/tests-pr.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 .github/workflows/tests-pr.yml diff --git a/.github/workflows/tests-pr.yml b/.github/workflows/tests-pr.yml new file mode 100644 index 00000000..95f1a492 --- /dev/null +++ b/.github/workflows/tests-pr.yml @@ -0,0 +1,21 @@ +name: Tests Status +permissions: + contents: read + pull-requests: read +on: [pull_request] +jobs: + run-tests: + name: Tests Status + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v5 + - name: 'Set up Python' + uses: actions/setup-python@v5 + - name: Install dependencies + run: | + python -m pip install --upgrade pip + pip install pytest + - name: 'Build OCF library' + run: cd tests/functional; make -j + - name: 'Execute tests' + run: cd tests/functional; python3 -m pytest