Skip to content

Commit

Permalink
Merge branch 'main' into task/5-remove-escaping-attribute
Browse files Browse the repository at this point in the history
  • Loading branch information
Matejkob committed Jun 18, 2023
2 parents a6927d4 + 236aaab commit 4aea1bf
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 6 deletions.
7 changes: 2 additions & 5 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:
branches: ["main"]
env:
DEVELOPER_DIR: /Applications/Xcode_14.3.1.app

jobs:
test:
runs-on: macos-13
Expand All @@ -17,15 +17,13 @@ jobs:
- name: Install Swift
uses: slashmo/[email protected]
with:
version: swift-5.9-DEVELOPMENT-SNAPSHOT-2023-06-05-a
version: swift-5.9-DEVELOPMENT-SNAPSHOT-2023-06-16-a
- name: Build
run: |
export TOOLCHAINS=swift
swift -version
swift build
- name: Run tests
run: |
swift -version
swift test -Xswiftc -Xfrontend -Xswiftc -dump-macro-expansions --enable-code-coverage
- name: Gather code coverage
run: |
Expand All @@ -42,6 +40,5 @@ jobs:
uses: codecov/codecov-action@v3
with:
token: ${{ secrets.CODECOV_TOKEN }}
fail_ci_if_error: fail
files: ./coverage_report.lcov
verbose: true
2 changes: 2 additions & 0 deletions .spi.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
version: 1
builder:
configs:
- documentation_targets: [Spyable]
swift_version: 5.9
2 changes: 2 additions & 0 deletions Sources/Spyable/Documentation.docc/Examples.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# Examples

2 changes: 1 addition & 1 deletion Sources/Spyable/Spyable.swift
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
/// - NOTE: The `@Spyable` macro should only be applied to protocols. Applying it to other
/// declarations will result in an error.
@attached(peer, names: arbitrary)
public macro Spyable() -> () = #externalMacro(
public macro Spyable() = #externalMacro(
module: "SpyableMacro",
type: "SpyableMacro"
)

0 comments on commit 4aea1bf

Please sign in to comment.