Skip to content
Merged
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
32 changes: 32 additions & 0 deletions .github/workflows/pull_request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,38 @@ on:
types: [opened, reopened, synchronize]

jobs:
tests_with_docker:
name: Test with Docker
uses: ./.github/workflows/swift_package_test.yml
with:
# Linux
linux_build_command: |
mkdir MyPackage
cd MyPackage
swift package init --type library
swift build
# Windows
windows_build_command: |
mkdir MyPackage
cd MyPackage
swift package init --type library
swift build
enable_windows_docker: true

tests_without_docker:
name: Test without Docker
uses: ./.github/workflows/swift_package_test.yml
with:
# Skip Linux which doesn't currently support docker-less workflow
enable_linux_checks: false
# Windows
windows_build_command: |
mkdir MyPackage
cd MyPackage
swift package init --type library
swift build
enable_windows_docker: false

soundness:
name: Soundness
uses: ./.github/workflows/soundness.yml
Expand Down
Loading