Create Excel iOS Tests #7
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Create Excel iOS Tests | |
on: | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: macos-15 | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Set up Swift | |
uses: swift-actions/setup-swift@v2 | |
with: | |
swift-version: '6.0' | |
- name: Build XLKit package for iOS | |
run: swift build -Xswiftc -Xfrontend -Xswiftc -disable-round-trip-debug-types | |
- name: Run iOS Compatibility Test | |
run: | | |
swift run -Xswiftc -Xfrontend -Xswiftc -disable-round-trip-debug-types XLKitTestRunner ios-test | |
- name: Verify iOS Test Files Created | |
run: | | |
echo "Checking for iOS test files..." | |
ls -la Test-Workflows/ | |
ls -la *.xlsx || echo "No xlsx files in root directory" | |
echo "iOS test files created successfully" | |
- name: Upload iOS Test Results | |
uses: actions/upload-artifact@v4 | |
with: | |
name: ios-test-results | |
path: | | |
Test-Workflows/ | |
*.xlsx | |
retention-days: 7 |