Improve tests by replacing onSuccess (which fails the test) by expecting which fails the future and the flow #1546
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: vertx-core (5.x) | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
branches: | |
- master | |
schedule: | |
- cron: '0 5 * * *' | |
jobs: | |
CI: | |
strategy: | |
matrix: | |
include: | |
- os: ubuntu-latest | |
jdk: 11 | |
profile: '' | |
- os: ubuntu-latest | |
jdk: 11 | |
profile: '-PtestNativeTransport' | |
- os: ubuntu-latest | |
jdk: 11 | |
profile: '-PtestDomainSockets' | |
- os: ubuntu-latest | |
jdk: 21 | |
profile: '' | |
- os: windows-latest | |
jdk: 11 | |
profile: '' | |
uses: ./.github/workflows/ci.yml | |
with: | |
branch: ${{ github.event.pull_request.head.sha || github.ref_name }} | |
jdk: ${{ matrix.jdk }} | |
os: ${{ matrix.os }} | |
profile: ${{ matrix.profile }} | |
secrets: inherit | |
Deploy: | |
if: ${{ github.repository_owner == 'eclipse-vertx' && (github.event_name == 'push' || github.event_name == 'schedule') }} | |
needs: CI | |
uses: ./.github/workflows/deploy.yml | |
with: | |
branch: ${{ github.event.pull_request.head.sha || github.ref_name }} | |
jdk: 11 | |
secrets: inherit |