Skip to content

Merge pull request #384 from allenai/track_grad_norm #575

Merge pull request #384 from allenai/track_grad_norm

Merge pull request #384 from allenai/track_grad_norm #575

Workflow file for this run

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 }}"