Skip to content

Commit

Permalink
Skip GH action and azure pipeline on branch misc
Browse files Browse the repository at this point in the history
  • Loading branch information
jinningwang committed Mar 5, 2024
1 parent e71cf7b commit 99a9839
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 12 deletions.
8 changes: 2 additions & 6 deletions .github/workflows/codecov.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,9 @@ jobs:
name: Report coverage
runs-on: ubuntu-latest

if: ${{ github.ref != 'refs/heads/misc' }}

steps:
- name: Exit if the branch is misc
run: |
if [[ "${{ github.ref }}" == "refs/heads/misc" ]]; then
echo "Branch is misc, exiting."
exit 0
fi
- uses: actions/checkout@v4
- uses: conda-incubator/setup-miniconda@v3
with:
Expand Down
8 changes: 2 additions & 6 deletions .github/workflows/pythonapp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,9 @@ jobs:

runs-on: ubuntu-latest

if: ${{ github.ref != 'refs/heads/misc' }}

steps:
- name: Exit if the branch is misc
run: |
if [[ "${{ github.ref }}" == "refs/heads/misc" ]]; then
echo "Branch is misc, exiting."
exit 0
fi
- uses: actions/checkout@v4
- uses: conda-incubator/setup-miniconda@v3
with:
Expand Down
2 changes: 2 additions & 0 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ jobs:
Python311:
python.version: '3.11'

if: ${{ github.ref != 'refs/heads/misc' }}

steps:
- task: UsePythonVersion@0
inputs:
Expand Down

0 comments on commit 99a9839

Please sign in to comment.