add replay buffer #591
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: PyTest | |
on: [push] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
python-version: [3.9] | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: ouzi-dev/commit-status-updater@v1.1.0 # Updates the commit status badge to pending | |
- name: Set up Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v2 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip | |
python -m pip install pytest wandb | |
python -m pip install --editable="./allenact" | |
python -m pip install --editable="./allenact_plugins[all]" | |
python -m pip install -e "git+https://github.com/Lucaweihs/babyai.git@0b450eeb3a2dc7116c67900d51391986bdbb84cd#egg=babyai" | |
python -m pip install compress_pickle # Needed for some mapping tests | |
pip list | |
- name: Test with pytest | |
run: | | |
pytest --capture=tee-sys tests | |
- if: always() # Updates the commit status badge to the result of running the tests above | |
uses: ouzi-dev/commit-status-updater@v1.1.0 | |
with: | |
status: "${{ job.status }}" |