Skip to content

Commit

Permalink
Restrict CI to docker tests (#513)
Browse files Browse the repository at this point in the history
* Keep docker tests

* Keep prebuilt docker tests

* Keep prebuilt docker tests
  • Loading branch information
passalis authored Aug 17, 2024
1 parent 441795f commit 57b90b0
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 13 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test_packages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ defaults:

jobs:
test-wheel:
if: ${{ contains(github.event.pull_request.labels.*.name, 'test packages') || github.event_name == 'schedule' }}
if: ${{ contains(github.event.pull_request.labels.*.name, 'test packages') }}
strategy:
fail-fast: false
matrix:
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/tests_suite.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ env:

jobs:
test-sources:
if: ${{ contains(github.event.pull_request.labels.*.name, 'test sources') || github.event_name == 'schedule' }}
if: ${{ contains(github.event.pull_request.labels.*.name, 'test sources') }}
strategy:
fail-fast: false
matrix:
Expand Down Expand Up @@ -86,7 +86,7 @@ jobs:
test-tools:
needs: install-toolkit
if: ${{ contains(github.event.pull_request.labels.*.name, 'test tools') || github.event_name == 'schedule' }}
if: ${{ contains(github.event.pull_request.labels.*.name, 'test tools') }}
strategy:
fail-fast: false
matrix:
Expand Down Expand Up @@ -271,7 +271,7 @@ jobs:
dist/*.tar.gz

build-docker:
if: ${{ contains(github.event.pull_request.labels.*.name, 'test release') || github.event_name == 'schedule' }}
if: ${{ contains(github.event.pull_request.labels.*.name, 'test release') }}
runs-on: ubuntu-20.04
steps:
- name: Free Disk Space
Expand Down Expand Up @@ -389,7 +389,7 @@ jobs:
test-wheel-separate:
needs: build-wheel
if: ${{ contains(github.event.pull_request.labels.*.name, 'test release') || github.event_name == 'schedule' }}
if: ${{ contains(github.event.pull_request.labels.*.name, 'test release') }}
strategy:
fail-fast: false
matrix:
Expand Down Expand Up @@ -504,7 +504,7 @@ jobs:
test-docker:
needs: build-docker
if: ${{ contains(github.event.pull_request.labels.*.name, 'test release') || github.event_name == 'schedule' }}
if: ${{ contains(github.event.pull_request.labels.*.name, 'test release') }}
strategy:
fail-fast: false
matrix:
Expand Down
14 changes: 7 additions & 7 deletions .github/workflows/tests_suite_develop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ env:

jobs:
test-sources:
if: ${{ contains(github.event.pull_request.labels.*.name, 'test sources') || github.event_name == 'schedule' }}
if: ${{ contains(github.event.pull_request.labels.*.name, 'test sources') }}
strategy:
fail-fast: false
matrix:
Expand Down Expand Up @@ -52,7 +52,7 @@ jobs:
python -m unittest discover -s tests
install-toolkit:
if: ${{ contains(github.event.pull_request.labels.*.name, 'test tools') || github.event_name == 'schedule' }}
if: ${{ contains(github.event.pull_request.labels.*.name, 'test tools') }}
strategy:
fail-fast: false
matrix:
Expand Down Expand Up @@ -88,7 +88,7 @@ jobs:
test-tools:
needs: install-toolkit
if: ${{ contains(github.event.pull_request.labels.*.name, 'test tools') || github.event_name == 'schedule' }}
if: ${{ contains(github.event.pull_request.labels.*.name, 'test tools') }}
strategy:
fail-fast: false
matrix:
Expand Down Expand Up @@ -249,7 +249,7 @@ jobs:
fi
build-wheel:
if: ${{ contains(github.event.pull_request.labels.*.name, 'test release') || github.event_name == 'schedule' }}
if: ${{ contains(github.event.pull_request.labels.*.name, 'test release') }}
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
Expand All @@ -275,7 +275,7 @@ jobs:
dist/*.tar.gz

build-docker:
if: ${{ contains(github.event.pull_request.labels.*.name, 'test release') || github.event_name == 'schedule' }}
if: ${{ contains(github.event.pull_request.labels.*.name, 'test release') }}
runs-on: ubuntu-20.04
steps:
- name: Free Disk Space
Expand Down Expand Up @@ -395,7 +395,7 @@ jobs:
test-wheel-separate:
needs: build-wheel
if: ${{ contains(github.event.pull_request.labels.*.name, 'test release') || github.event_name == 'schedule' }}
if: ${{ contains(github.event.pull_request.labels.*.name, 'test release') }}
strategy:
fail-fast: false
matrix:
Expand Down Expand Up @@ -513,7 +513,7 @@ jobs:
test-docker:
needs: build-docker
if: ${{ contains(github.event.pull_request.labels.*.name, 'test release') || github.event_name == 'schedule' }}
if: ${{ contains(github.event.pull_request.labels.*.name, 'test release') }}
strategy:
fail-fast: false
matrix:
Expand Down

0 comments on commit 57b90b0

Please sign in to comment.