5
5
6
6
on :
7
7
push :
8
- branches : [ master ]
8
+ branches : [master]
9
9
pull_request :
10
- branches : [ master ]
10
+ branches : [master]
11
11
12
12
jobs :
13
13
build :
@@ -22,42 +22,42 @@ jobs:
22
22
python-version : ["3.8", "3.9", "3.10", "3.11"]
23
23
24
24
steps :
25
- - uses : actions/checkout@v3
26
- - name : Set up Python ${{ matrix.python-version }}
27
- uses : actions/setup-python@v4
28
- with :
29
- python-version : ${{ matrix.python-version }}
30
- - name : Install dependencies
31
- run : |
32
- python -m pip install --upgrade pip
33
- # cpu version of pytorch
34
- pip install torch==2.1.1 --index-url https://download.pytorch.org/whl/cpu
25
+ - uses : actions/checkout@v3
26
+ - name : Set up Python ${{ matrix.python-version }}
27
+ uses : actions/setup-python@v4
28
+ with :
29
+ python-version : ${{ matrix.python-version }}
30
+ - name : Install dependencies
31
+ run : |
32
+ python -m pip install --upgrade pip
33
+ # cpu version of pytorch
34
+ pip install torch==2.1.1 --index-url https://download.pytorch.org/whl/cpu
35
35
36
- # Install Atari Roms
37
- pip install autorom
38
- wget https://gist.githubusercontent.com/jjshoots/61b22aefce4456920ba99f2c36906eda/raw/00046ac3403768bfe45857610a3d333b8e35e026/Roms.tar.gz.b64
39
- base64 Roms.tar.gz.b64 --decode &> Roms.tar.gz
40
- AutoROM --accept-license --source-file Roms.tar.gz
36
+ # Install Atari Roms
37
+ pip install autorom
38
+ wget https://gist.githubusercontent.com/jjshoots/61b22aefce4456920ba99f2c36906eda/raw/00046ac3403768bfe45857610a3d333b8e35e026/Roms.tar.gz.b64
39
+ base64 Roms.tar.gz.b64 --decode &> Roms.tar.gz
40
+ AutoROM --accept-license --source-file Roms.tar.gz
41
41
42
- # Install master version
43
- # and dependencies for docs and tests
44
- pip install "stable_baselines3[extra_no_roms,tests,docs] @ git+https://github.com/DLR-RM/stable-baselines3"
45
- pip install .
46
- # Use headless version
47
- pip install opencv-python-headless
42
+ # Install master version
43
+ # and dependencies for docs and tests
44
+ pip install "stable_baselines3[extra_no_roms,tests,docs] @ git+https://github.com/DLR-RM/stable-baselines3"
45
+ pip install .
46
+ # Use headless version
47
+ pip install opencv-python-headless
48
48
49
- - name : Lint with ruff
50
- run : |
51
- make lint
52
- - name : Check codestyle
53
- run : |
54
- make check-codestyle
55
- - name : Build the doc
56
- run : |
57
- make doc
58
- - name : Type check
59
- run : |
60
- make type
61
- - name : Test with pytest
62
- run : |
63
- make pytest
49
+ - name : Lint with ruff
50
+ run : |
51
+ make lint
52
+ - name : Check codestyle
53
+ run : |
54
+ make check-codestyle
55
+ - name : Build the doc
56
+ run : |
57
+ make doc
58
+ - name : Type check
59
+ run : |
60
+ make type
61
+ - name : Test with pytest
62
+ run : |
63
+ make pytest
0 commit comments