File tree Expand file tree Collapse file tree 3 files changed +20
-24
lines changed
Expand file tree Collapse file tree 3 files changed +20
-24
lines changed Original file line number Diff line number Diff line change @@ -101,8 +101,7 @@ jobs:
101101 if : matrix.skip_release != '1'
102102 run : make XCODEBUILD_ARGUMENT="${{ matrix.command }}" CONFIG=Release PLATFORM="${{ matrix.platform }}" xcodebuild
103103
104- linux_android :
105- name : Linux and Android
104+ android :
106105 runs-on : ubuntu-24.04
107106 steps :
108107 - uses : actions/checkout@v4
@@ -118,28 +117,14 @@ jobs:
118117 # tests are not yet passing on Android
119118 run-tests : false
120119
121- # linux:
122- # name: linux
123- # strategy:
124- # matrix:
125- # swift-version: ["5.10"]
126- # runs-on: ubuntu-latest
127- # steps:
128- # - uses: actions/checkout@v4
129- # - uses: swift-actions/setup-swift@v2
130- # with:
131- # swift-version: ${{ matrix.swift-version }}
132- # - name: Cache build
133- # uses: actions/cache@v3
134- # with:
135- # path: |
136- # .build
137- # key: |
138- # build-spm-linux-${{ matrix.swift-version }}-${{ hashFiles('**/Sources/**/*.swift', '**/Tests/**/*.swift', '**/Package.resolved') }}
139- # restore-keys: |
140- # build-spm-linux-${{ matrix.swift-version }}-
141- # - name: Run tests
142- # run: swift test --skip IntegrationTests
120+ linux :
121+ name : linux
122+ runs-on : ubuntu-latest
123+ steps :
124+ - uses : actions/checkout@v4
125+ - uses : vapor/swiftly-action@v0.1
126+ - run : swift build
127+ - run : swift test --skip IntegrationTests
143128
144129 # library-evolution:
145130 # name: Library (evolution)
Original file line number Diff line number Diff line change @@ -90,6 +90,9 @@ let package = Package(
9090 " Functions " ,
9191 " Mocker " ,
9292 " TestHelpers " ,
93+ ] ,
94+ resources: [
95+ . process( " __Snapshots__ " )
9396 ]
9497 ) ,
9598 . testTarget(
@@ -123,6 +126,9 @@ let package = Package(
123126 " Mocker " ,
124127 " PostgREST " ,
125128 " TestHelpers " ,
129+ ] ,
130+ resources: [
131+ . process( " __Snapshots__ " )
126132 ]
127133 ) ,
128134 . target(
Original file line number Diff line number Diff line change 1+ enum DotEnv {
2+ static let SUPABASE_URL = " https://example.com "
3+ static let SUPABASE_ANON_KEY = " example "
4+ static let SUPABASE_SERVICE_ROLE_KEY = " example "
5+ }
You can’t perform that action at this time.
0 commit comments