Skip to content

Commit fa3ade4

Browse files
authored
github: Kill integration tests (#1048)
We were not running them, so just remove it altogether.
2 parents 3f77381 + 5c385cf commit fa3ade4

1 file changed

Lines changed: 3 additions & 24 deletions

File tree

.github/workflows/go.yml

Lines changed: 3 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -4,31 +4,21 @@
44
name: Go
55

66
on:
7-
pull_request_target:
7+
pull_request:
88
branches: ["main"]
99
push:
1010
branches: ["main"]
1111

12-
env:
13-
TURSO_API_TOKEN: ${{ secrets.TURSOCI_TOKEN }}
12+
permissions:
13+
contents: read
1414

1515
jobs:
16-
authorize:
17-
environment: ${{ github.event_name == 'pull_request_target' &&
18-
github.event.pull_request.head.repo.full_name != github.repository &&
19-
'external' || 'internal' }}
20-
runs-on: ubuntu-latest
21-
steps:
22-
- run: true
23-
2416
build:
25-
needs: authorize
2617
runs-on: ubuntu-latest
2718
steps:
2819
- uses: actions/checkout@v4.2.2
2920
with:
3021
ref: ${{ github.event.pull_request.head.sha || github.ref }}
31-
#ref: "refs/pull/${{ github.event.number }}/merge" # THIS IS INSECURE
3222

3323
- name: Setup Golang with cache
3424
uses: actions/setup-go@v5.5.0
@@ -67,14 +57,3 @@ jobs:
6757

6858
- name: Build Turso binary
6959
run: go build -o turso cmd/turso/main.go
70-
71-
#- name: Integration tests checkout
72-
# uses: actions/checkout@v3
73-
# with:
74-
# repository: tursodatabase/tursotest
75-
# ref: "main"
76-
# path: "tests"
77-
# token: ${{ secrets.ACCESS_TOKEN_TO_TESTS }}
78-
79-
#- name: Integration Test
80-
# run: cd tests && export TURSO_BINARY=../turso && go run cmd/tursotest/main.go -test.v -test.count=1 run integrationtests

0 commit comments

Comments
 (0)