Skip to content

Commit edfa50f

Browse files
committed
Tests pytest with empty test suite
1 parent 4e03aae commit edfa50f

File tree

2 files changed

+18
-2
lines changed

2 files changed

+18
-2
lines changed

.github/workflows/build.yml

Lines changed: 18 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,23 @@ jobs:
2727
python-version: "3.12"
2828
- name: Install scikit-decide and test dependencies
2929
run: |
30-
pip install graph-jsp-env
30+
pip install pytest
3131
- name: test importing it
3232
run: |
33-
python -c "from graph_jsp_env.disjunctive_graph_jsp_env import DisjunctiveGraphJspEnv"
33+
pytest tests/
34+
test-jsp-env-wrapped:
35+
runs-on: windows-latest
36+
defaults:
37+
run:
38+
shell: bash
39+
steps:
40+
- name: Set up Python
41+
uses: actions/setup-python@v5
42+
with:
43+
python-version: "3.12"
44+
- name: Install scikit-decide and test dependencies
45+
run: |
46+
pip install pytest
47+
- name: test importing it
48+
run: |
49+
sh -c 'pytest tests/ ; ret=$?; [ $ret = 5 ] && exit 0 || exit $ret'

tests/test_fake.py

Whitespace-only changes.

0 commit comments

Comments
 (0)