Skip to content

Merge branch 'dev' into precommit #99

Merge branch 'dev' into precommit

Merge branch 'dev' into precommit #99

Workflow file for this run

name: Nursery Tests
on: [push, pull_request]
jobs:
test:
strategy:
max-parallel: 1
fail-fast: false
matrix:
python-version: ['3.8']
platform: [ubuntu-latest]
runs-on: ${{ matrix.platform }}
if: contains(github.event.pull_request.labels.*.name, 'pr:test-nursery')
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 MXNet (Linux)
if: ${{ runner.os == 'Linux' }}
run: pip install mxnet~=1.8.0
- name: Install MXNet (Windows)
if: ${{ runner.os == 'Windows' }}
run: pip install mxnet~=1.7.0
- name: Install other dependencies
run: |
pip install "torch==1.10.0" "pytorch-lightning~=1.5" \
-f https://download.pytorch.org/whl/cpu/torch_stable.html
pip install
pip install -e ".[shell]" \
-r requirements/requirements-test.txt \
-r requirements/requirements-extras-sagemaker-sdk.txt \
-r requirements/requirements-extras-m-competitions.txt \
-r requirements/requirements-rotbaum.txt \
-r requirements/requirements-extras-anomaly-evaluation.txt \
-r requirements/requirements-extras-autogluon.txt
- name: Test with pytest
run: |
pytest -n2 --doctest-modules test/nursery