Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
vision
Commits
cd4761f4
"git@developer.sourcefind.cn:OpenDAS/fairscale.git" did not exist on "e14cca4421e7fc2c6b5553c705076c3fe01f9ff4"
Unverified
Commit
cd4761f4
authored
Sep 22, 2020
by
Philip Meier
Committed by
GitHub
Sep 22, 2020
Browse files
add dummy workflow to test GitHub Actions CI (#2697)
parent
c36cb6d2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
33 additions
and
0 deletions
+33
-0
.github/workflows/test-workflow.yml
.github/workflows/test-workflow.yml
+33
-0
No files found.
.github/workflows/test-workflow.yml
0 → 100644
View file @
cd4761f4
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"
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment