Skip to content

Commit

Permalink
Merge pull request #825 from lanl/issue821/fix-WIP-no-ci-labels
Browse files Browse the repository at this point in the history
Correct WIP and no ci label usage
  • Loading branch information
pagrubel authored Apr 23, 2024
2 parents 643c59d + 175dead commit 6a14f4a
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 4 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,12 @@ on:
push:
branches: [main, develop]
pull_request:
types: [opened, synchronize, edited]
types: [opened, synchronize, edited, labeled, unlabeled]
branches: [main, develop]

jobs:
docs:
if: ${{ !(contains(github.event.pull_request.labels.*.name, 'WIP (no-ci)')) && !(contains(github.event.pull_request.labels.*.name, 'WIP (lint-only)')) }}
name: Build Docs
runs-on: ubuntu-latest
steps:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ env: {}

jobs:
integration-test:
if: ${{ !(contains(github.event.pull_request.labels.*.name, 'WIP') || contains(github.event.pull_request.labels.*.name, 'lint-only')) }}
if: ${{ !(contains(github.event.pull_request.labels.*.name, 'WIP (no-ci)')) && !(contains(github.event.pull_request.labels.*.name, 'WIP (lint-only)')) }}
name: BEE Integration Test
strategy:
matrix:
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/pylama.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,12 @@ on:
push:
branches: [main, develop]
pull_request:
types: [opened, synchronize, edited]
types: [opened, synchronize, edited, labeled, unlabeled]
branches: [main, develop]

jobs:
pylama:
if: ${{ !(contains(github.event.pull_request.labels.*.name, 'WIP (no-ci)')) }}
name: PyLama Lint
runs-on: ubuntu-latest
steps:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/unit-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ env: {}

jobs:
integration-test:
if: ${{ !(contains(github.event.pull_request.labels.*.name, 'WIP') || contains(github.event.pull_request.labels.*.name, 'lint-only')) }}
if: ${{ !(contains(github.event.pull_request.labels.*.name, 'WIP (no-ci)')) && !(contains(github.event.pull_request.labels.*.name, 'WIP (lint-only)')) }}
name: BEE Unit Tests
env:
# Unit tests are only run with Slurm right now
Expand Down

0 comments on commit 6a14f4a

Please sign in to comment.