File tree Expand file tree Collapse file tree 1 file changed +5
-15
lines changed Expand file tree Collapse file tree 1 file changed +5
-15
lines changed Original file line number Diff line number Diff line change @@ -29,21 +29,11 @@ jobs:
29
29
- name : Install build dependencies
30
30
run : |
31
31
python -m pip install --upgrade pip
32
- python -m pip install build wheel setuptools pytest
33
- - name : Build and install package Python 3.10 and above
32
+ python -m pip install build wheel setuptools
33
+ - name : Build and install package
34
34
run : |
35
35
output=$(python -m build --wheel)
36
- if [[ "${{ matrix.python-version }}" == "3.12" ]]; then
37
- # Exclude envpool when testing with Python 3.12
38
- pip install dist/${output##* }[test]
39
- pip install gymnasium ray gpjax plotly pandas tensorflow-datasets grain brax plotly pandas
40
- else
41
- pip install dist/${output##* }[full,test]
42
- fi
43
- - name : Test with pytest Python 3.10 and above
36
+ pip install dist/${output##* }[test]
37
+ - name : Test with unittest
44
38
run : |
45
- if [[ "${{ matrix.python-version }}" == "3.12" ]]; then
46
- pytest -k 'not test_envpool_cartpole'
47
- else
48
- pytest
49
- fi
39
+ python -m unittest
You can’t perform that action at this time.
0 commit comments