Changeset 17691 in josm


Ignore:
Timestamp:
2021-03-30T10:27:15+02:00 (4 years ago)
Author:
simon04
Message:

see #20621 - GitHub Actions: remove broken headless=false jobs

The headless=false jobs (via xvfb-run) via GitHub Actions terminate after 6h unsuccessfully.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/.github/workflows/ant.yml

    r17690 r17691  
    7575        java: [8, 11, 16, 17-ea]
    7676        os: [ubuntu-latest, macos-latest, windows-latest]
    77         headless: ["true", "false"]
    7877        exclude:
    7978          - java: 8
     
    8180          - java: 11
    8281            os: macos-latest
    83           - headless: "false"
    84             os: macos-latest
    85           - headless: "false"
    86             os: windows-latest
    87     name: Java ${{ matrix.java }} on ${{ matrix.os }} with headless=${{ matrix.headless }}
     82    name: Java ${{ matrix.java }} on ${{ matrix.os }}
    8883    steps:
    8984      - name: Checkout
     
    143138
    144139      - name: Upload jar
    145         # Only run on matrix.headless to avoid double jars. They should be the same jars.
    146         if: ${{ always() && matrix.headless == 'true' }}
     140        if: ${{ always() }}
    147141        id: upload-jar
    148142        env:
     
    155149          asset_content_type: application/java-archive
    156150
    157       - name: Test with Ant, headless ${{ matrix.headless }}
     151      - name: Test with Ant
    158152        if: ${{ needs.createrelease.outputs.josm_prerelease }}
    159153        run: |
    160154          ANT="${{ env.ANT_HOME }}/bin/ant -DnoJavaFX=true test-unit-hardfail"
    161           if [ "${{ matrix.headless }}" == "true" ]; then
    162             $ANT -Dtest.headless=true
    163           else
    164             xvfb-run $ANT -Dtest.headless=false
    165           fi
     155          $ANT -Dtest.headless=true
    166156
    167157      - name: Dump errors if failed
     
    173163        uses: actions/upload-artifact@v2
    174164        with:
    175           name: Ant reports for JOSM ${{ needs.createrelease.outputs.josm_revision }} on java ${{ matrix.java }} on ${{ matrix.os }} with headless=${{ matrix.headless }}
     165          name: Ant reports for JOSM ${{ needs.createrelease.outputs.josm_revision }} on java ${{ matrix.java }} on ${{ matrix.os }}
    176166          path: test/report/*.txt
    177167
Note: See TracChangeset for help on using the changeset viewer.