-
Notifications
You must be signed in to change notification settings - Fork 1
40 lines (38 loc) · 977 Bytes
/
_test.yml
File metadata and controls
40 lines (38 loc) · 977 Bytes
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
37
38
39
40
name: (abstract) - Test
on:
workflow_call:
inputs:
package-name:
required: true
type: string
test-file:
required: true
type: string
test-dir:
required: true
type: string
test-report-dir:
required: true
type: string
jobs:
test:
name: Test ${{ inputs.package-name }} py v ${{ matrix.python-version }}
runs-on: ubuntu-latest
services:
mockserver:
image: mockserver/mockserver:5.15.0
ports:
- 1080:1080
strategy:
fail-fast: false
matrix:
python-version: [ '3.10', '3.14' ]
steps:
- uses: actions/checkout@v3
- uses: ./.github/workflows/composite/test-sdk
with:
package-under-test: ./${{ inputs.package-name }}
test-dir: tests
test-file: ${{ inputs.test-file }}
test-report-dir: tests/test-reports
python-version: ${{ matrix.python-version }}