Skip to content

Integrations tests may fail #30

Integrations tests may fail

Integrations tests may fail #30

Workflow file for this run

name: build
on:
push:
branches: [ "main", "dev/*", "test/*" ]
pull_request:
branches: [ "main" ]
permissions:
contents: read
checks: write
jobs:
build:
strategy:
matrix:
xcode: ['xcode15', 'xcode14']
include:
- xcode: 'xcode15'
xcode-path: '/Applications/Xcode_15.0.app'
macos: 'macos-13'
- xcode: 'xcode14'
xcode-path: '/Applications/Xcode_14.3.1.app'
macos: 'macos-13'
env:
DEVELOPER_DIR: ${{ matrix.xcode-path }}
runs-on: ${{ matrix.macos }}
steps:
- name: checkout
uses: actions/checkout@v4
- name: build
run: swift build -v
- name: reports directory
run: mkdir reports
- name: run unit tests
continue-on-error: true
run: swift test --filter='AppcastTests' --parallel --xunit-output reports/AppcastTests.xml
- name: report unit test results
uses: dorny/test-reporter@afe6793191b75b608954023a46831a3fe10048d4
if: always()
with:
name: 'results-unit-tests (${{ matrix.xcode }})'
path: reports/AppcastTests.xml
reporter: java-junit
fail-on-error: true
- name: run integration tests
continue-on-error: true
run: swift test --filter='IntegrationTests' --parallel --xunit-output reports/IntegrationTests.xml || true
- name: report integration test results
uses: dorny/test-reporter@afe6793191b75b608954023a46831a3fe10048d4
if: always()
with:
name: 'results-integration-tests (${{ matrix.xcode }})'
path: reports/IntegrationTests.xml
reporter: java-junit
fail-on-error: false