We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 501c27e + fe532e8 commit ae6413dCopy full SHA for ae6413d
.github/workflows/Test.yml
@@ -0,0 +1,36 @@
1
+# test autosar-data-py with pytest
2
+name: Test
3
+
4
+on:
5
+ push:
6
+ branches:
7
+ - main
8
+ tags:
9
+ - '*'
10
+ pull_request:
11
+ workflow_dispatch:
12
13
+permissions:
14
+ contents: read
15
16
+jobs:
17
+ linux:
18
+ runs-on: ubuntu-latest
19
+ steps:
20
+ - uses: actions/checkout@v3
21
+ - name: Set up Python
22
+ uses: actions/setup-python@v4
23
+ with:
24
+ python-version: '3.x'
25
+ - name: Install dependencies
26
+ run: |
27
+ python -m pip install --upgrade pip
28
+ pip install pytest
29
+ pip install maturin
30
+ - name: Build and install wheel
31
32
+ maturin build --out dist --find-interpreter
33
+ pip install autosar-data --find-links dist
34
+ - name: Test with pytest
35
36
+ pytest
0 commit comments