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

Github Actions #29

Merged
merged 30 commits into from
Jul 22, 2021
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
50 changes: 0 additions & 50 deletions .circleci/config.yml

This file was deleted.

53 changes: 53 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
name: build

on:
push:
branches: [main]
pull_request:
branches:

concurrency:
group: ${{ github.head_ref }}
cancel-in-progress: true

jobs:
build:
strategy:
matrix:
platform:
- iOS
- tvOS
#- watchOS
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I can't enable this until they rev macOS. It's pinned at 10.15, and thus not the latest Xcode.
macOS 11 is in a limited beta

- macOS
runs-on: macos-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Build
uses: mxcl/xcodebuild@v1
with:
platform: ${{ matrix.platform }}
scheme: FetchRequests-${{ matrix.platform }}
action: test
code-coverage: true
- name: Code Coverage
#uses: codecov/codecov-action@v2
run: bash <(curl -s https://codecov.io/bash);
validate:
runs-on: macos-latest
needs: build
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Swift Lint
run: swiftlint --strict
- name: Pod Lint
run: pod lib lint --quick --fail-fast --verbose --skip-tests
- name: Example Project
uses: mxcl/xcodebuild@v1
with:
platform: iOS
scheme: iOS Example
action: build
warnings-as-errors: true
working-directory: Example
36 changes: 0 additions & 36 deletions .travis.yml

This file was deleted.

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

2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

FetchRequests is an eventing library inspired by NSFetchedResultsController and written in Swift.

[![Build Status](https://img.shields.io/travis/crewos/FetchRequests/main)](https://travis-ci.com/crewos/FetchRequests)
[![Build Status](https://github.com/crewos/FetchRequests/actions/workflows/build.yml/badge.svg?branch=main)](https://github.com/crewos/FetchRequests/actions/workflows/build.yml)
[![codecov](https://img.shields.io/codecov/c/github/crewos/FetchRequests/main)](https://codecov.io/gh/crewos/FetchRequests)
[![CocoaPods Compatible](https://img.shields.io/cocoapods/v/FetchRequests)](https://cocoapods.org/pods/FetchRequests)
[![Carthage Compatible](https://img.shields.io/badge/carthage-compatible-4BC51D)](https://github.com/Carthage/Carthage)
Expand Down