"git@developer.sourcefind.cn:OpenDAS/fairscale.git" did not exist on "e14cca4421e7fc2c6b5553c705076c3fe01f9ff4"
Unverified Commit cd4761f4 authored by Philip Meier's avatar Philip Meier Committed by GitHub
Browse files

add dummy workflow to test GitHub Actions CI (#2697)

parent c36cb6d2
name: scheduled-tests
on:
schedule:
- cron: "*/30 * * * *"
jobs:
download:
runs-on: ubuntu-latest
steps:
- name: Set up python
uses: actions/setup-python@v2
with:
python-version: 3.6
- name: Upgrade pip
run: python -m pip install --upgrade pip
- name: Install PyTorch for CPU from the nightlies
run: |
pip install numpy
pip install --pre torch torchvision -f https://download.pytorch.org/whl/nightly/cpu/torch_nightly.html
- name: Install test requirements
run: pip install pytest pytest-subtests
- name: Simulate failing tests
run: exit 1
- name: Create issue for failed workflow
if: failure()
run: echo "Create an issue referencing this workflow run"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment