Skip to content

Commit e1464c6

Browse files
Merge pull request #905 from robertbaldyga/functional-per-pr
github-actions: Functional tests per-PR
2 parents 222a937 + 88909a5 commit e1464c6

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

.github/workflows/tests-pr.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
name: Tests Status
2+
permissions:
3+
contents: read
4+
pull-requests: read
5+
on: [pull_request]
6+
jobs:
7+
run-tests:
8+
name: Tests Status
9+
runs-on: ubuntu-latest
10+
steps:
11+
- uses: actions/checkout@v5
12+
- name: 'Set up Python'
13+
uses: actions/setup-python@v5
14+
- name: Install dependencies
15+
run: |
16+
python -m pip install --upgrade pip
17+
pip install pytest
18+
- name: 'Build OCF library'
19+
run: cd tests/functional; make -j
20+
- name: 'Execute tests'
21+
run: cd tests/functional; python3 -m pytest

0 commit comments

Comments
 (0)