Skip to content

Uses GraphQLSwift CI #165

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

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open
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
80 changes: 0 additions & 80 deletions .github/workflows/build.yml

This file was deleted.

12 changes: 12 additions & 0 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
name: test
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
workflow_dispatch:
jobs:
lint:
uses: graphqlswift/ci/.github/workflows/lint.yaml@main
test:
uses: graphqlswift/ci/.github/workflows/test.yaml@main
5 changes: 4 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,7 @@
.swiftpm/

### CI Artifacts ###
/.test-coverage
/.test-coverage

### VS Code ###
.vscode/
1 change: 0 additions & 1 deletion Sources/GraphQL/Subscription/Subscribe.swift
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,6 @@ func subscribe(
return sourceFuture.map { sourceResult -> SubscriptionResult in
if let sourceStream = sourceResult.stream {
let subscriptionStream = sourceStream.map { eventPayload -> Future<GraphQLResult> in

// For each payload yielded from a subscription, map it over the normal
// GraphQL `execute` function, with `payload` as the rootValue.
// This implements the "MapSourceToResponseEvent" algorithm described in
Expand Down