File tree Expand file tree Collapse file tree 2 files changed +5
-18
lines changed Expand file tree Collapse file tree 2 files changed +5
-18
lines changed Original file line number Diff line number Diff line change @@ -98,33 +98,17 @@ jobs:
98
98
tests :
99
99
name : " Tests"
100
100
runs-on : ${{ matrix.os }}
101
- needs : [code-style ]
101
+ needs : [smoke-tests ]
102
102
strategy :
103
103
matrix :
104
104
os : [ubuntu-latest, windows-latest]
105
105
python-version : ['3.9', '3.12']
106
106
fail-fast : false
107
107
steps :
108
- - name : Checkout code
109
- uses : actions/checkout@v4
110
-
111
- - name : Set up Python ${{ matrix.python-version }}
112
- uses : actions/setup-python@v5
113
- with :
114
- python-version : ${{ matrix.python-version }}
115
-
116
- - name : Install dependencies
117
- run : |
118
- python -m pip install --upgrade pip
119
- pip install -r requirements.txt
120
108
121
109
- name : Testing
122
110
uses : ansys/actions/tests-pytest@v6
123
111
timeout-minutes : 12
124
- with :
125
- checkout : false
126
- skip-install : true
127
- pytest-extra-args : " --cov=ansys.allie.flowkit.python --cov-report=term --cov-report=html:.cov/html --cov-report=xml:.cov/coverage.xml"
128
112
129
113
- name : Upload coverage results (HTML)
130
114
uses : actions/upload-artifact@v4
Original file line number Diff line number Diff line change @@ -118,4 +118,7 @@ known-first-party = ["ansys"]
118
118
convention = " google"
119
119
120
120
[tool .setuptools .packages .find ]
121
- include = [" app" , " docker" , " configs" ]
121
+ include = [" app" , " docker" , " configs" ]
122
+
123
+ [tool .pytest .ini_options ]
124
+ addopts = " --cov=ansys.allie.flowkit.python --cov-report=term --cov-report=html:.cov/html --cov-report=xml:.cov/coverage.xml"
You can’t perform that action at this time.
0 commit comments