Skip to content

Commit

Permalink
Merge pull request #4 from groue/dev/GRDB7-beta
Browse files Browse the repository at this point in the history
Support for GRDB 7.0.0-beta
  • Loading branch information
groue authored Sep 29, 2024
2 parents 9958db1 + d73d3be commit bbfd119
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 11 deletions.
18 changes: 10 additions & 8 deletions .github/workflows/run_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,17 +19,19 @@ on:

jobs:
run-tests:
name: Test ${{ matrix.os }}, Swift ${{ matrix.swift-version }}
name: Run Tests
runs-on: ${{ matrix.runsOn }}
env:
DEVELOPER_DIR: "/Applications/${{ matrix.xcode }}/Contents/Developer"
timeout-minutes: 60
strategy:
fail-fast: false
matrix:
os: [macos-latest]
swift-version: ["5.8", "5.9"]
runs-on: ${{ matrix.os }}
include:
- xcode: "Xcode_16.app"
runsOn: macOS-14
name: "Xcode 16.0"
steps:
- uses: actions/checkout@v4
- name: Install Swift ${{ matrix.swift-version }}
uses: swift-actions/setup-swift@v1
with:
swift-version: ${{ matrix.swift-version }}
- name: Test
run: "swift test"
6 changes: 3 additions & 3 deletions Package.swift
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// swift-tools-version: 5.7
// swift-tools-version: 6.0
// The swift-tools-version declares the minimum version of Swift required to build this package.

import PackageDescription
Expand All @@ -18,8 +18,8 @@ let package = Package(
targets: ["GRDBSnapshotTesting"]),
],
dependencies: [
.package(url: "https://github.com/groue/GRDB.swift.git", from: "6.21.0"),
.package(url: "https://github.com/pointfreeco/swift-snapshot-testing.git", from: "1.14.1"),
.package(url: "https://github.com/groue/GRDB.swift", from: "7.0.0-beta"),
.package(url: "https://github.com/pointfreeco/swift-snapshot-testing", from: "1.17.5"),
],
targets: [
// Targets are the basic building blocks of a package, defining a module or a test suite.
Expand Down
1 change: 1 addition & 0 deletions Sources/GRDBSnapshotTesting/SnapshotDumpFormat.swift
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import GRDB
import SQLite3

/// A GRDB dump format suited for snapshot testing, that prints one line
/// per database value, formatting values as SQL literals.
Expand Down

0 comments on commit bbfd119

Please sign in to comment.