Skip to content

Commit

Permalink
Add CI to develop branch (#213)
Browse files Browse the repository at this point in the history
* Add CI to develop branch

Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp>

* Fix generate-docs.yml

Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp>

* Remove unnecessary branch options

Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp>

* Remove unnecessary code

Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp>
  • Loading branch information
kenji-miyake authored Aug 12, 2021
1 parent bf2a313 commit f639e92
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 8 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,12 @@ on:
jobs:
build:
runs-on: ubuntu-20.04
strategy:
fail-fast: false
matrix:
branch:
- main
- develop

steps:
# https://github.community/t/bug-strange-no-space-left-on-device-ioexceptions-on-github-runners/17616
Expand All @@ -26,6 +32,8 @@ jobs:
- name: Checkout repository
uses: actions/checkout@v2
with:
ref: ${{ matrix.branch }}

- name: Install pip
run: |
Expand Down
7 changes: 3 additions & 4 deletions .github/workflows/generate-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on:
push:
branches:
- main
- master
- develop
paths:
- "mkdocs.yml"
- "**/*.md"
Expand All @@ -14,7 +14,7 @@ on:
pull_request:
branches:
- main
- master
- develop
paths:
- "mkdocs.yml"
- "**/*.md"
Expand All @@ -32,9 +32,8 @@ jobs:

steps:
- name: Extract branch name
shell: bash
run: echo "::set-output name=branch::${GITHUB_REF#refs/heads/}"
id: extract_branch
run: echo "::set-output name=branch::${GITHUB_REF#refs/heads/}"

- name: Checkout repository
uses: actions/checkout@v2
Expand Down
2 changes: 0 additions & 2 deletions .github/workflows/spell_check_pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@ name: Check spelling

on:
pull_request:
branches:
- main

jobs:
spellcheck:
Expand Down
2 changes: 0 additions & 2 deletions .github/workflows/vcs-import.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@ name: vcs import

on:
pull_request:
branches:
- main
paths:
- "autoware.proj.repos"
workflow_dispatch:
Expand Down

0 comments on commit f639e92

Please sign in to comment.