Skip to content
This repository has been archived by the owner on Nov 8, 2023. It is now read-only.

Commit

Permalink
Merge branch 'main' into testing
Browse files Browse the repository at this point in the history
  • Loading branch information
PythonSwiftLink authored Sep 9, 2023
2 parents 8b16ac7 + 43765d7 commit 4ad53a5
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 1 deletion.
22 changes: 22 additions & 0 deletions .github/workflows/swift.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# This workflow will build a Swift project
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-swift

name: Swift

on:
push:
branches: [ "main" , "testing"]
pull_request:
branches: [ "main" , "testing" ]

jobs:
build:

runs-on: macos-latest

steps:
- uses: actions/checkout@v3
- name: Build
run: swift build -v
- name: Run tests
run: swift test -v
2 changes: 1 addition & 1 deletion Sources/PythonSwiftCore/PyPointer+PyCall.swift
Original file line number Diff line number Diff line change
Expand Up @@ -1840,4 +1840,4 @@ public func PythonCallWithGil<A, B, C, D, E, F, G, H, I>(call: PyPointer, _ a: A
args.deallocate()
PyGILState_Release(gil)
Py_DecRef(result)
}
}

0 comments on commit 4ad53a5

Please sign in to comment.