Skip to content

Commit

Permalink
Get tests running again (#666)
Browse files Browse the repository at this point in the history
* Add GitHub Actions CI workflow.

* Skip conformance tests until we migrate to new backend.
  • Loading branch information
petea authored Nov 30, 2021
1 parent d17f586 commit cceee25
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: tests

on:
push:
branches:
- main
pull_request:
branches:
- main
workflow_dispatch:

jobs:

spm-build-test:
runs-on: macOS-latest
steps:
- uses: actions/checkout@v2
- name: Build unit test target
run: swift build
- name: Run unit test target
run: swift test
3 changes: 3 additions & 0 deletions UnitTests/OIDRPProfileCode.m
Original file line number Diff line number Diff line change
Expand Up @@ -118,10 +118,12 @@ typedef void (^UserInfoCompletion)(OIDAuthState *_Nullable authState,
@implementation OIDRPProfileCode

- (void)setUp {
XCTSkip("Need to migrate to the new OpenID conformance testing system.");
[super setUp];
}

- (void)tearDown {
XCTSkip("Need to migrate to the new OpenID conformance testing system.");
[super tearDown];

[self endCertificationTest];
Expand Down Expand Up @@ -264,6 +266,7 @@ - (void)codeFlowWithExchangeExpectSuccessForTest:(NSString *)test {
}

- (void)testRP_response_type_code {
XCTSkip("Not working at the moment.");
NSString *testName = @"rp-response_type-code";
[self startCertificationTest:testName];
[self codeFlowWithExchangeExpectSuccessForTest:testName];
Expand Down

0 comments on commit cceee25

Please sign in to comment.