Skip to content

Commit

Permalink
Don't test docs on release branches
Browse files Browse the repository at this point in the history
  • Loading branch information
mdellweg committed Jun 21, 2024
1 parent 36aa867 commit f777f3f
Show file tree
Hide file tree
Showing 17 changed files with 17 additions and 99 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ on:

jobs:
test:
if: endsWith(github.base_ref, 'main')
runs-on: "ubuntu-20.04"
steps:
- uses: "actions/checkout@v4"
Expand All @@ -24,3 +25,9 @@ jobs:
pip install -r doc_requirements.txt
- name: Build docs
run: make docs
no-test:
if: not endsWith(github.base_ref, 'main')
runs-on: "ubuntu-20.04"
steps:
- run: |
echo "Skip docs testing on non-main branches."
97 changes: 0 additions & 97 deletions .github/workflows/kanban.yml

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ on:

jobs:
test:
if: "endsWith(github.base_ref, 'main')"
runs-on: "ubuntu-20.04"
steps:
- uses: "actions/checkout@v4"
Expand All @@ -22,5 +23,12 @@ jobs:
- name: "Install Test Dependencies"
run: |
pip install -r doc_requirements.txt
- name: Build docs
run: make docs
- name: "Build docs"
run: |
make docs
no-test:
if: "!endsWith(github.base_ref, 'main')"
runs-on: "ubuntu-20.04"
steps:
- run: |
echo "Skip docs testing on non-main branches."

0 comments on commit f777f3f

Please sign in to comment.