Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Github action: nightly builds with mxnet #795

Merged
merged 1 commit into from
Mar 16, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
47 changes: 47 additions & 0 deletions .github/workflows/mxnet_nightly.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
# Runs unit & system tests with mxnet nightly builds (both mxnet and mxnet-mkl)
name: MXNet Nightly

on:
schedule:
# * is a special character in YAML so you have to quote this string
# nightly:
- cron: '0 0 * * *'

# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
# This workflow contains a single job called "build"
build:

strategy:
max-parallel: 4
fail-fast: false
matrix:
python-version: [3.6, 3.7]
platform: [ubuntu-latest, windows-latest]
mxnet-version: [mxnet-mkl, mxnet]

# The type of runner that the job will run on
runs-on: ${{ matrix.platform }}

# Steps represent a sequence of tasks that will be executed as part of the job
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v2
with:
ref: sockeye_2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v1
with:
python-version: ${{ matrix.python-version }}
# Runs a set of commands using the runners shell:
- name: Install dependencies ${{ matrix.mxnet-version }}
run: |
python -m pip install --upgrade pip
pip install --pre ${{ matrix.mxnet-version }}
pip install -r requirements/requirements.txt
pip install -r requirements/requirements.dev.txt
# Runs a single command using the runners shell
- name: Unit tests
run: python3 setup.py test
- name: System tests
run: python -m pytest --maxfail=1 test/system