Skip to content

MXNet nightly

MXNet nightly #434

Workflow file for this run

name: MXNet nightly
on:
schedule:
- cron: '0 0 * * *'
jobs:
test-mxnet-nightly:
strategy:
max-parallel: 4
fail-fast: false
matrix:
python-version: ['3.8']
platform: [ubuntu-latest, windows-latest]
runs-on: ${{ matrix.platform }}
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install pip==20.2
pip install --pre "mxnet<2" -f https://dist.mxnet.io/python
pip install torch==1.10.0+cpu --no-cache-dir -f https://download.pytorch.org/whl/cpu/torch_stable.html
pip install pytorch-lightning~=1.5
pip install -e ".[shell]"
pip install -r requirements/requirements-test.txt
pip install -r requirements/requirements-extras-sagemaker-sdk.txt
pip install -r requirements/requirements-extras-m-competitions.txt
pip install -r requirements/requirements-rotbaum.txt
pip install -r requirements/requirements-extras-anomaly-evaluation.txt
pip install -r requirements/requirements-extras-autogluon.txt
- name: Test with pytest
run: |
pytest -m 'not (gpu or serial)' --cov src/gluonts --cov-report=term --cov-report xml test