Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
56 changes: 52 additions & 4 deletions .github/workflows/code-coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,58 @@ on:
- '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:
code-coverage:
uses: request-dl/.github/.github/workflows/code-coverage.yml@main
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:
package-tests: swift-openapi-request-dl-nioPackageTests
target: OpenAPIRequestDL
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
22 changes: 0 additions & 22 deletions .github/workflows/swift.yml

This file was deleted.

13 changes: 0 additions & 13 deletions .github/workflows/swiftlint.yml

This file was deleted.

43 changes: 0 additions & 43 deletions .swiftlint.yml

This file was deleted.

112 changes: 83 additions & 29 deletions Package.resolved

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions Package.swift
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// swift-tools-version: 5.9
// swift-tools-version: 5.10
// The swift-tools-version declares the minimum version of Swift required to build this package.

import PackageDescription
Expand All @@ -15,15 +15,15 @@ let package = Package(
dependencies: [
.package(
url: "https://github.com/request-dl/request-dl-nio.git",
from: "3.0.2"
from: "3.0.3"
),
.package(
url: "https://github.com/apple/swift-openapi-runtime",
from: "1.3.2"
from: "1.8.2"
),
.package(
url: "https://github.com/apple/swift-docc-plugin",
from: "1.3.0"
from: "1.4.5"
)
],
targets: [
Expand Down
Loading