diff --git a/.github/workflows/swift.yml b/.github/workflows/swift.yml new file mode 100644 index 0000000..921a41a --- /dev/null +++ b/.github/workflows/swift.yml @@ -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 diff --git a/Sources/PythonSwiftCore/PyPointer+PyCall.swift b/Sources/PythonSwiftCore/PyPointer+PyCall.swift index 5fe8d99..c970d94 100644 --- a/Sources/PythonSwiftCore/PyPointer+PyCall.swift +++ b/Sources/PythonSwiftCore/PyPointer+PyCall.swift @@ -1840,4 +1840,4 @@ public func PythonCallWithGil(call: PyPointer, _ a: A args.deallocate() PyGILState_Release(gil) Py_DecRef(result) -} \ No newline at end of file +}