-
Notifications
You must be signed in to change notification settings - Fork 1
36 lines (31 loc) · 1 KB
/
Copy pathtest-unit.yaml
File metadata and controls
36 lines (31 loc) · 1 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
name: Unit Tests
on:
workflow_call:
jobs:
Run:
name: Run
runs-on: ${{ vars.RUNNER_VERSION }}
steps:
- name: Checkout Source Repository
uses: actions/checkout@v4
with:
path: brus-backend-common
- name: Init Python Environment
uses: ./brus-backend-common/.github/actions/init-python-environment
with:
working-directory: ./brus-backend-common
- name: Init Test Environment
uses: ./brus-backend-common/.github/actions/init-test-environment
with:
is-integration-test: false
is-spark-test: false
working-directory: ./brus-backend-common
- name: Run Test Cases
id: run-test-cases
uses: ./brus-backend-common/.github/actions/run-pytest
with:
cov-report-name: 'unit-tests'
ignore-glob: '**/tests/integration/*'
include-glob: 'test_*.py *_test.py'
marker: '(not signal_handling)'
working-directory: ./brus-backend-common