File tree Expand file tree Collapse file tree 10 files changed +23
-44
lines changed Expand file tree Collapse file tree 10 files changed +23
-44
lines changed Original file line number Diff line number Diff line change @@ -2,14 +2,11 @@ name: CI build Docker
2
2
# https://www.docker.com/blog/first-docker-github-action-is-here
3
3
# https://github.com/docker/build-push-action
4
4
# see: https://help.github.com/en/actions/reference/events-that-trigger-workflows
5
- on :
6
- # Trigger the workflow on push or pull request, but only for the master branch
5
+ on : # Trigger the workflow on push or pull request, but only for the master branch
7
6
push :
8
- branches :
9
- - master
7
+ branches : [master]
10
8
pull_request :
11
- branches :
12
- - master
9
+ branches : [master]
13
10
14
11
jobs :
15
12
build-Conda :
Original file line number Diff line number Diff line change @@ -3,11 +3,9 @@ name: Install pkg
3
3
# see: https://help.github.com/en/actions/reference/events-that-trigger-workflows
4
4
on : # Trigger the workflow on push or pull request, but only for the master branch
5
5
push :
6
- branches :
7
- - master
6
+ branches : [master]
8
7
pull_request :
9
- branches :
10
- - master
8
+ branches : [master]
11
9
12
10
jobs :
13
11
Original file line number Diff line number Diff line change @@ -3,13 +3,9 @@ name: PyTorch & Conda
3
3
# see: https://help.github.com/en/actions/reference/events-that-trigger-workflows
4
4
on : # Trigger the workflow on push or pull request, but only for the master branch
5
5
push :
6
- branches :
7
- - master
6
+ branches : [master]
8
7
pull_request :
9
- branches :
10
- - master
11
- # Trigger the workflow on push or pull request
12
- # on: [push, pull_request]
8
+ branches : [master]
13
9
14
10
jobs :
15
11
conda :
Original file line number Diff line number Diff line change @@ -3,13 +3,9 @@ name: CI base testing
3
3
# see: https://help.github.com/en/actions/reference/events-that-trigger-workflows
4
4
on : # Trigger the workflow on push or pull request, but only for the master branch
5
5
push :
6
- branches :
7
- - master
6
+ branches : [master]
8
7
pull_request :
9
- branches :
10
- - master
11
- # Trigger the workflow on push or pull request
12
- # on: [push, pull_request]
8
+ branches : [master]
13
9
14
10
jobs :
15
11
doctest :
Original file line number Diff line number Diff line change @@ -3,13 +3,9 @@ name: CI complete testing
3
3
# see: https://help.github.com/en/actions/reference/events-that-trigger-workflows
4
4
on : # Trigger the workflow on push or pull request, but only for the master branch
5
5
push :
6
- branches :
7
- - master
6
+ branches : [master]
8
7
pull_request :
9
- branches :
10
- - master
11
- # Trigger the workflow on push or pull request
12
- # on: [push, pull_request]
8
+ branches : [master]
13
9
14
10
jobs :
15
11
pytest :
Original file line number Diff line number Diff line change @@ -2,8 +2,7 @@ name: TPU tests
2
2
3
3
on :
4
4
push :
5
- branches :
6
- - master
5
+ branches : [master]
7
6
# TODO: temporal disable TPU testing until we find way how to pass credentials to forked PRs
8
7
# pull_request:
9
8
# branches:
Original file line number Diff line number Diff line change @@ -2,11 +2,9 @@ name: "Check Code Format"
2
2
3
3
on : # Trigger the workflow on push or pull request, but only for the master branch
4
4
push :
5
- branches :
6
- - master
5
+ branches : [master]
7
6
pull_request :
8
- branches :
9
- - master
7
+ branches : [master]
10
8
11
9
jobs :
12
10
code-black :
Original file line number Diff line number Diff line change @@ -3,11 +3,9 @@ name: Publish Docker Releases
3
3
# https://github.com/docker/build-push-action
4
4
on :
5
5
push :
6
- branches :
7
- - master
6
+ branches : [master]
8
7
release :
9
- types :
10
- - created
8
+ types : [created]
11
9
12
10
jobs :
13
11
build-Conda :
Original file line number Diff line number Diff line change 1
1
name : " Docs check"
2
2
# https://github.com/marketplace/actions/sphinx-build
3
3
4
- on :
5
- - pull_request
4
+ on : # Trigger the workflow on push or pull request, but only for the master branch
5
+ push :
6
+ branches : [master]
7
+ pull_request :
8
+ branches : [master]
6
9
7
10
jobs :
8
11
check-docs :
Original file line number Diff line number Diff line change @@ -3,11 +3,9 @@ name: PyPI Release
3
3
# https://help.github.com/en/actions/reference/events-that-trigger-workflows
4
4
on : # Trigger the workflow on push or pull request, but only for the master branch
5
5
push :
6
- branches :
7
- - master
6
+ branches : [master]
8
7
release :
9
- types :
10
- - created
8
+ types : [created]
11
9
12
10
# based on https://github.com/pypa/gh-action-pypi-publish
13
11
You can’t perform that action at this time.
0 commit comments