Skip to content

Upgrade dependencies #28

Upgrade dependencies

Upgrade dependencies #28

Workflow file for this run

name: Code Coverage
on:
push:
branches: [main]
paths:
- 'Package.swift'
- 'Sources/**'
- 'Tests/**'
pull_request:
paths:
- 'Package.swift'
- 'Sources/**'
- 'Tests/**'
- '.github/workflows/code-coverage.yml'
concurrency:
group: ${{ github.workflow }}-${{ github.ref == 'refs/heads/main' && github.run_id || github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs:
third-party-tests:
name: "Testing on Third Party Platforms"
strategy:
fail-fast: false
matrix:
include:
- platform: "ubuntu-latest"
name: "Linux"
# - platform: "windows-latest"
# name: "Windows"
uses: request-dl/.github/.github/workflows/third-party-tests.yml@main
with:
platform: ${{ matrix.platform }}
name: ${{ matrix.name }}
coverage-enabled: true
secrets: inherit
apple-tests:
name: "Testing on Apple Platforms"
strategy:
fail-fast: false
matrix:
include:
- destination: "platform=iOS Simulator,arch=arm64,name=iPhone 16 Pro,OS=18.5"
name: "iOS"
- destination: "platform=iOS Simulator,arch=arm64,name=iPad (A16),OS=18.5"
name: "iPadOS"
- destination: "platform=watchOS Simulator,arch=arm64,name=Apple Watch Series 10 (42mm),OS=11.5"
name: "watchOS"
- destination: "platform=tvOS Simulator,arch=arm64,name=Apple TV 4K (3rd generation) (at 1080p),OS=18.5"
name: "tvOS"
- destination: "platform=visionOS Simulator,arch=arm64,name=Apple Vision Pro,OS=2.5"
name: "visionOS"
- destination: "platform=macOS,arch=arm64,name=My Mac"
name: "macOS"
- destination: "platform=macOS,arch=arm64,variant=Mac Catalyst,name=My Mac"
name: "macOS Catalyst"
uses: request-dl/.github/.github/workflows/apple-tests.yml@main
with:
package-name: "swift-openapi-request-dl-nio"
destination: ${{ matrix.destination }}
name: ${{ matrix.name }}
coverage-enabled: true
secrets: inherit
coverage-upload:
needs: [third-party-tests, apple-tests]
if: always()
uses: request-dl/.github/.github/workflows/coverage-upload.yml@main
secrets: inherit