-
Notifications
You must be signed in to change notification settings - Fork 152
39 lines (35 loc) · 1.05 KB
/
test.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
name: test
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-20.04
strategy:
matrix:
python-version: ["3.8"]
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v3
with:
python-version: ${{ matrix.python-version }}
- name: Install packages
run: |
python -m pip install --upgrade pip
# pip install setuptools==65.5.0
# pip install pytest-cov
# pip install gym==0.21.0
# pip install ray==1.8.0
# pip install ray[tune]
# pip install ray[rllib]
# pip install torch==1.9.0+cpu -f https://download.pytorch.org/whl/torch_stable.html
# pip install icecream==2.1.3
# pip install pettingzoo==1.12.0
# pip install pettingzoo[mpe]
# pip install supersuit==3.2.0
# pip install numpy==1.20.3
# pip install importlib-metadata==4.13.0
# pip install -e .
# - name: Unit tests
# run: |
# mkdir -p test_data
# pytest tests/test_base.py