Skip to content

Commit

Permalink
build docs on master (#3492)
Browse files Browse the repository at this point in the history
* build docs on master

* fomatting
  • Loading branch information
Borda authored Sep 15, 2020
1 parent b5dc699 commit 61b31d9
Show file tree
Hide file tree
Showing 10 changed files with 23 additions and 44 deletions.
9 changes: 3 additions & 6 deletions .github/workflows/ci_dockers.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,11 @@ name: CI build Docker
# https://www.docker.com/blog/first-docker-github-action-is-here
# https://github.com/docker/build-push-action
# see: https://help.github.com/en/actions/reference/events-that-trigger-workflows
on:
# Trigger the workflow on push or pull request, but only for the master branch
on: # Trigger the workflow on push or pull request, but only for the master branch
push:
branches:
- master
branches: [master]
pull_request:
branches:
- master
branches: [master]

jobs:
build-Conda:
Expand Down
6 changes: 2 additions & 4 deletions .github/workflows/ci_pkg-install.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,9 @@ name: Install pkg
# see: https://help.github.com/en/actions/reference/events-that-trigger-workflows
on: # Trigger the workflow on push or pull request, but only for the master branch
push:
branches:
- master
branches: [master]
pull_request:
branches:
- master
branches: [master]

jobs:

Expand Down
8 changes: 2 additions & 6 deletions .github/workflows/ci_pt-conda.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,9 @@ name: PyTorch & Conda
# see: https://help.github.com/en/actions/reference/events-that-trigger-workflows
on: # Trigger the workflow on push or pull request, but only for the master branch
push:
branches:
- master
branches: [master]
pull_request:
branches:
- master
# Trigger the workflow on push or pull request
# on: [push, pull_request]
branches: [master]

jobs:
conda:
Expand Down
8 changes: 2 additions & 6 deletions .github/workflows/ci_test-base.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,9 @@ name: CI base testing
# see: https://help.github.com/en/actions/reference/events-that-trigger-workflows
on: # Trigger the workflow on push or pull request, but only for the master branch
push:
branches:
- master
branches: [master]
pull_request:
branches:
- master
# Trigger the workflow on push or pull request
# on: [push, pull_request]
branches: [master]

jobs:
doctest:
Expand Down
8 changes: 2 additions & 6 deletions .github/workflows/ci_test-full.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,9 @@ name: CI complete testing
# see: https://help.github.com/en/actions/reference/events-that-trigger-workflows
on: # Trigger the workflow on push or pull request, but only for the master branch
push:
branches:
- master
branches: [master]
pull_request:
branches:
- master
# Trigger the workflow on push or pull request
# on: [push, pull_request]
branches: [master]

jobs:
pytest:
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/ci_test-tpu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@ name: TPU tests

on:
push:
branches:
- master
branches: [master]
# TODO: temporal disable TPU testing until we find way how to pass credentials to forked PRs
# pull_request:
# branches:
Expand Down
6 changes: 2 additions & 4 deletions .github/workflows/code-formatting.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,9 @@ name: "Check Code Format"

on: # Trigger the workflow on push or pull request, but only for the master branch
push:
branches:
- master
branches: [master]
pull_request:
branches:
- master
branches: [master]

jobs:
code-black:
Expand Down
6 changes: 2 additions & 4 deletions .github/workflows/docker-builds.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,9 @@ name: Publish Docker Releases
# https://github.com/docker/build-push-action
on:
push:
branches:
- master
branches: [master]
release:
types:
- created
types: [created]

jobs:
build-Conda:
Expand Down
7 changes: 5 additions & 2 deletions .github/workflows/docs-checks.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
name: "Docs check"
# https://github.com/marketplace/actions/sphinx-build

on:
- pull_request
on: # Trigger the workflow on push or pull request, but only for the master branch
push:
branches: [master]
pull_request:
branches: [master]

jobs:
check-docs:
Expand Down
6 changes: 2 additions & 4 deletions .github/workflows/pypi-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,9 @@ name: PyPI Release
# https://help.github.com/en/actions/reference/events-that-trigger-workflows
on: # Trigger the workflow on push or pull request, but only for the master branch
push:
branches:
- master
branches: [master]
release:
types:
- created
types: [created]

# based on https://github.com/pypa/gh-action-pypi-publish

Expand Down

0 comments on commit 61b31d9

Please sign in to comment.