SMARTS CI Memory #149
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: SMARTS CI Memory | |
on: | |
schedule: | |
- cron: "0 23 * * 4" | |
# Time is in UTC | |
# Runs at 11.00pm, UTC , every Thursday | |
# Runs at 7.00pm, UTC-4, every Thursday | |
workflow_dispatch: | |
env: | |
venv_dir: .venv | |
jobs: | |
test_memory: | |
runs-on: ubuntu-20.04 | |
container: ghcr.io/smarts-project/smarts:v0.6.1-minimal | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
with: | |
ref: master | |
- name: Setup package | |
run: | | |
cd $GITHUB_WORKSPACE | |
python3.8 -m venv ${{env.venv_dir}} | |
. ${{env.venv_dir}}/bin/activate | |
pip install --upgrade pip | |
pip install wheel==0.38.4 | |
pip install pympler | |
pip install .[camera_obs,rllib,test,torch,train] | |
- name: Test memory growth | |
run: | | |
cd $GITHUB_WORKSPACE | |
. ${{env.venv_dir}}/bin/activate | |
make test-memory-growth |