-
Notifications
You must be signed in to change notification settings - Fork 10
58 lines (51 loc) · 1.33 KB
/
python-app.yml
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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
# This workflow will install Python dependencies, run tests and lint with a single version of Python
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions
name: UNS All Modules
on:
push:
branches:
- "**"
paths:
- "**/*.py"
- "**/pyproject.toml"
- "**/poetry.lock"
- ".github/workflows/*.yml"
- ".github/include/**"
pull_request:
branches:
- "**"
paths:
- "**/*.py"
- "**/pyproject.toml"
- "**/poetry.lock"
- ".github/workflows/*.yml"
- ".github/include/**"
permissions:
contents: read
jobs:
build:
runs-on: ubuntu-latest
environment: dev
strategy:
matrix:
module:
[
"./02_mqtt-cluster",
"./03_uns_graphdb",
"./04_uns_historian",
"./05_sparkplugb",
"./06_uns_kafka",
"./07_uns_graphql",
]
steps:
- uses: actions/checkout@v4
- name: Setup with python environment
uses: ./.github/include/setup_python/
with:
module: ${{ matrix.module }}
- name: Run all type of tests
uses: ./.github/include/execute_tests/
with:
module: ${{ matrix.module }}
integration_tests: false
# pytest_flags: "-v"