[release] prepare for 0.19.0 (beta) #3
This file contains hidden or 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: net-imap tests | |
| on: [push, pull_request] | |
| env: | |
| JRUBY_OPTS: '-J-ea' | |
| jobs: | |
| net-imap: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| # NOTE: failing on JRuby 10 due bundle -> pulling in rbs | |
| ruby-version: [ jruby-9.4.14.0 ] # jruby-10.0.6.0 | |
| include: | |
| - ruby-version: jruby-9.4.14.0 | |
| java-version: 11 | |
| #- ruby-version: jruby-10.0.6.0 | |
| # java-version: 21 | |
| fail-fast: false | |
| steps: | |
| - name: checkout | |
| uses: actions/checkout@v4 | |
| - name: check out net-imap submodule | |
| run: git submodule update --init net-imap | |
| - name: set up java ${{ matrix.java-version }} | |
| uses: actions/setup-java@v4 | |
| with: | |
| java-version: ${{ matrix.java-version }} | |
| distribution: temurin | |
| - name: set up ${{ matrix.ruby-version }} | |
| uses: ruby/setup-ruby@v1 | |
| with: | |
| ruby-version: ${{ matrix.ruby-version }} | |
| - name: bundle install | |
| run: jruby -S bundle install | |
| - name: build jopenssl.jar | |
| run: jruby -rbundler/setup -S rake jar | |
| - name: install net-imap deps | |
| run: jruby -S rake net-imap:bundle | |
| - name: net-imap tests | |
| timeout-minutes: 15 | |
| # TLS tracing only for this run (test_starttls_unknown_ca intermittently hangs) | |
| env: | |
| JAVA_TOOL_OPTIONS: >- | |
| -Djruby.openssl.debug=true | |
| -Djavax.net.debug=ssl,handshake | |
| run: jruby -S rake net-imap:test |