Skip to content

Commit

Permalink
Simplify mxnet nightly build action (#947)
Browse files Browse the repository at this point in the history
  • Loading branch information
fhieber authored Apr 6, 2021
1 parent a92030e commit 25e240b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
8 changes: 3 additions & 5 deletions .github/workflows/mxnet_nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,6 @@ jobs:
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:
Expand All @@ -36,9 +34,9 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install "pyyaml>=5.1" "numpy>1.16.0,<2.0.0" "portalocker" "sacrebleu==1.4.3"
pip install -r requirements/requirements.dev.txt --use-deprecated=legacy-resolver
pip install --pre "mxnet<2" -f https://dist.mxnet.io/python
pip install -r requirements/requirements.txt
pip install -r requirements/requirements.dev.txt
pip install --upgrade --pre "mxnet<2" -f https://dist.mxnet.io/python
- name: Print mxnet build
run: pip list | grep mxnet
- name: Unit tests
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/push_pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
- name: Sockeye requirements
run: pip install -r requirements/requirements.txt
- name: Development requirements
run: pip install -r requirements/requirements.dev.txt --use-deprecated=legacy-resolver
run: pip install -r requirements/requirements.dev.txt
- name: Unit tests
run: |
pytest --version
Expand Down

0 comments on commit 25e240b

Please sign in to comment.