Unverified Commit 9e7a4b19 authored by Francisco Massa's avatar Francisco Massa Committed by GitHub
Browse files

Revert "simulate scheduled test failure (#2714)" (#2716)

This reverts commit 81d76487.
parent 81d76487
--- ---
title: Scheduled workflow {{ env.WORKFLOW }}/{{ env.JOB }} failed title: Scheduled workflow {{ env.WORKFLOW }}/{{ env.JOB }} failed
labels: labels: bug, module: datasets
- bug
- "module: datasets"
assignees: pmeier, fmassa
--- ---
Oh no, something went wrong in the scheduled workflow {{ env.WORKFLOW }}/{{ env.JOB }}. Oh no, something went wrong in the scheduled workflow {{ env.WORKFLOW }}/{{ env.JOB }}.
......
name: tests name: tests
on: on:
pull_request:
- "test/test_datasets_download.py"
- ".github/failed_schedule_issue_template.md"
- ".github/workflows/tests-schedule.yml"
schedule: schedule:
- cron: "*/30 * * * *" - cron: "0 9 * * *"
jobs: jobs:
download: download:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Checkout repository - name: Set up python
uses: actions/checkout@v2 uses: actions/setup-python@v2
with:
python-version: 3.6
- name: Upgrade pip
run: python -m pip install --upgrade pip
- name: Install PyTorch 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 tests requirements
run: pip install pytest pytest-subtests
- name: Simulate test failure - name: Run tests
run: exit 1 run: pytest test/test_datasets_download.py
- uses: JasonEtco/create-an-issue@v2.4.0 - uses: JasonEtco/create-an-issue@v2.4.0
name: Create issue if download tests failed name: Create issue if download tests failed
......
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