Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Run PR #1823 in loop #1827

Closed
wants to merge 15 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
15 commits
Select commit Hold shift + click to select a range
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
58 changes: 0 additions & 58 deletions .github/workflows/check-pod.yaml

This file was deleted.

52 changes: 0 additions & 52 deletions .github/workflows/docs.yml

This file was deleted.

14 changes: 0 additions & 14 deletions .github/workflows/features.yml

This file was deleted.

71 changes: 9 additions & 62 deletions .github/workflows/integration-test-iOS16_2.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -51,73 +51,20 @@ jobs:
path: xcparse/.build/debug/xcparse
key: ${{ runner.os }}-xcparse-${{ steps.get-xcparse-commit-sha.outputs.sha }}

- name: Reset Simulators
run: xcrun simctl erase all

- name: Install Dependencies and Run Tests
- name: Install Dependencies and Run Tests Continuously
env:
TEST_OBSERVABILITY_SERVER_AUTH_KEY: ${{ secrets.TEST_OBSERVABILITY_SERVER_AUTH_KEY }}
run: |
brew install xcbeautify
brew install coreutils # for `timeout`
make submodules
bundle install
make update_carthage_dependencies_ios
bundle exec fastlane test_iOS16_2

- name: Check Static Analyzer Output
id: analyzer-output
run: |
if [[ -z $(find ./derived_data -name "report-*.html") ]]; then
echo "Static Analyzer found no issues."
else
echo "Static Analyzer found some issues. HTML report will be available in Artifacts section. Failing build."
exit 1
fi

- name: Static Analyzer Reports Uploading
if: ${{ failure() && steps.analyzer-output.outcome == 'failure' }}
uses: actions/upload-artifact@v2
with:
name: static-analyzer-reports-test_iOS16_2
path: ./derived_data/**/report-*.html

- name: Run Examples Tests
working-directory: ./Examples/Tests
run: |
pod repo update
pod install
bundle exec fastlane scan -s Tests --output-directory "fastlane/test_output/examples/test_iOS16_2"
Scripts/continuously-run-tests-and-upload-results.sh --lane test_iOS16_2

- name: Build APNS Example Project
working-directory: ./Examples/AblyPush
run: |
xcodebuild build -scheme "AblyPushExample" -destination "platform=iOS Simulator,name=iPhone 14" -configuration "Debug"

- name: Xcodebuild Logs Artifact
if: always()
uses: actions/upload-artifact@v2
with:
name: xcodebuild-logs
path: ~/Library/Developer/Xcode/DerivedData/*/Logs

- name: Upload test output artifact
- name: Upload .xcresult bundles
uses: actions/upload-artifact@v3
if: always()
uses: actions/upload-artifact@v2
with:
name: test-output
path: fastlane/test_output

- name: Upload test results to observability server
if: always()
env:
TEST_OBSERVABILITY_SERVER_AUTH_KEY: ${{ secrets.TEST_OBSERVABILITY_SERVER_AUTH_KEY }}
run: Scripts/upload_test_results.sh

- name: Swift Package Manager - Installation Test
working-directory: ./
run: |
echo 'Current Branch: ' $GITHUB_HEAD_REF
echo 'Current Revision (SHA):' $GITHUB_SHA
echo Current Path: $(pwd)
export PACKAGE_URL=file://$(pwd)
export PACKAGE_BRANCH_NAME=$GITHUB_HEAD_REF
export PACKAGE_REVISION=$GITHUB_SHA
swift test --package-path Examples/SPM -v
name: xcresult-bundles.tar.gz
path: xcresult-bundles.tar.gz
118 changes: 0 additions & 118 deletions .github/workflows/integration-test-macOS.yaml

This file was deleted.

Loading
Loading