Skip to content

Commit

Permalink
Merge pull request ashfurrow#221 from ashfurrow/feature/github-action
Browse files Browse the repository at this point in the history
Initial Github Actions integration
  • Loading branch information
ashfurrow authored May 11, 2021
2 parents 35b8457 + 0a76043 commit d43d354
Show file tree
Hide file tree
Showing 136 changed files with 69 additions and 74 deletions.
74 changes: 0 additions & 74 deletions .circleci/config.yml

This file was deleted.

69 changes: 69 additions & 0 deletions .github/workflows/build-and-test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,69 @@
name: Testing
on: [push, pull_request]

jobs:
test:
name: Build and Test Nimble-Snapshots
runs-on: macOS-latest
steps:
- name: Checkout repository
uses: actions/[email protected]

- name: Setup Xcode version
uses: maxim-lobanov/[email protected]
with:
xcode-version: 12.4

- name: Set up Ruby 2.6
uses: ruby/[email protected]
with:
ruby-version: 2.6
bundler-cache: true

- name: Danger action
uses: MeilCli/[email protected]
with:
plugins_file: 'Gemfile'
install_path: 'vendor/bundle'
danger_file: 'Dangerfile'
danger_id: 'danger-pr'
env:
DANGER_GITHUB_API_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: "Create output dir"
run: mkdir output

- name: Run tests in Swift 4.2
run: xcodebuild -workspace 'Bootstrap/Bootstrap.xcworkspace' -sdk 'iphonesimulator' -scheme 'Bootstrap' -destination 'name=iPhone 8' SWIFT_VERSION=4.2 build test | tee output/xcodebuild_swift4.2.log

- name: Run tests in Swift 5.0
run: xcodebuild -workspace 'Bootstrap/Bootstrap.xcworkspace' -sdk 'iphonesimulator' -scheme 'Bootstrap' -destination 'name=iPhone 8' SWIFT_VERSION=5.0 build test | tee output/xcodebuild_swift5.0.log

- name: Run Carthage integration test
run: sh carthage-xcode-12.sh bootstrap --platform iOS && xcodebuild
shell: bash

- name: Swiftlint
run: |
swiftlint lint --no-cache --reporter junit | tee result.xml
- name: Store Swiftlint artifacts
uses: actions/upload-artifact@v2
with:
name: Swiftlint
path: |
result.xml
- name: Store output artifacts
uses: actions/upload-artifact@v2
with:
name: Output
path: |
output
- name: Store FailureDiffs artifacts
uses: actions/upload-artifact@v2
with:
name: FailureDiffs
path: |
Bootstrap/BootstrapTests/FailureDiffs/
Binary file not shown.
File renamed without changes
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
File renamed without changes
Binary file not shown.
File renamed without changes
Binary file removed ...es/BootstrapTests/[email protected]
Binary file not shown.
Binary file removed ...es/BootstrapTests/[email protected]
Binary file not shown.
Binary file removed ...es/BootstrapTests/[email protected]
Binary file not shown.
Binary file removed ...es/BootstrapTests/[email protected]
Binary file not shown.
File renamed without changes
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
File renamed without changes
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
File renamed without changes
Binary file not shown.
Diff not rendered.
Diff not rendered.
Diff not rendered.
File renamed without changes
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
File renamed without changes
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
File renamed without changes
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
File renamed without changes
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
File renamed without changes
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
File renamed without changes
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
File renamed without changes
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
File renamed without changes
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
File renamed without changes
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
File renamed without changes
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
File renamed without changes
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
File renamed without changes
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
File renamed without changes
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
File renamed without changes
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
File renamed without changes
Binary file removed ...ynamicTypeTests/[email protected]
Diff not rendered.
Binary file removed ...ynamicTypeTests/[email protected]
Diff not rendered.
Binary file removed .../DynamicTypeTests/[email protected]
Diff not rendered.
Binary file removed .../DynamicTypeTests/[email protected]
Diff not rendered.
File renamed without changes
Binary file removed ...ynamicTypeTests/[email protected]
Diff not rendered.
Binary file removed ...ynamicTypeTests/[email protected]
Diff not rendered.
Binary file removed .../DynamicTypeTests/[email protected]
Diff not rendered.
Binary file removed .../DynamicTypeTests/[email protected]
Diff not rendered.
File renamed without changes
Binary file removed ...ynamicTypeTests/[email protected]
Diff not rendered.
Binary file removed ...ynamicTypeTests/[email protected]
Diff not rendered.
Binary file removed .../DynamicTypeTests/[email protected]
Diff not rendered.
Binary file removed .../DynamicTypeTests/[email protected]
Diff not rendered.
File renamed without changes
Binary file removed ...namicTypeTests/[email protected]
Diff not rendered.
Binary file removed ...namicTypeTests/[email protected]
Diff not rendered.
Binary file removed ...DynamicTypeTests/[email protected]
Diff not rendered.
Binary file removed ...DynamicTypeTests/[email protected]
Diff not rendered.
File renamed without changes
Binary file removed ...namicTypeTests/[email protected]
Diff not rendered.
Binary file removed ...namicTypeTests/[email protected]
Diff not rendered.
Binary file removed ...DynamicTypeTests/[email protected]
Diff not rendered.
Binary file removed ...DynamicTypeTests/[email protected]
Diff not rendered.
File renamed without changes
Diff not rendered.
Diff not rendered.
Binary file removed ...ynamicTypeTests/[email protected]
Diff not rendered.
Binary file removed ...ynamicTypeTests/[email protected]
Diff not rendered.
File renamed without changes
Diff not rendered.
Diff not rendered.
Binary file removed ...namicTypeTests/[email protected]
Diff not rendered.
Binary file removed ...namicTypeTests/[email protected]
Diff not rendered.
File renamed without changes

0 comments on commit d43d354

Please sign in to comment.