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 7195928
Show file tree
Hide file tree
Showing 17 changed files with 20 additions and 101 deletions.
12 changes: 10 additions & 2 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 @@ -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."
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 7195928

Please sign in to comment.