Skip to content

Commit 2c69f10

Browse files
committed
don't run tests on windows
1 parent f69c738 commit 2c69f10

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

.github/workflows/ci.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ jobs:
99
strategy:
1010
matrix:
1111
# Disabling windows builds while we fix installing PostgreSQL 16
12-
os: [ubuntu-22.04, macos-14, windows-2022]
12+
os: [ubuntu-24.04, macos-14, windows-2022]
1313
cgo: ['1', '0']
1414
# Workaround no native support for conditional matrix items
1515
# https://github.com/orgs/community/discussions/26253#discussioncomment-6745038
@@ -18,9 +18,9 @@ jobs:
1818
# exclude:
1919
# - isMain: false
2020
# include:
21-
# - os: ubuntu-22.04
21+
# - os: ubuntu-24.04
2222
# cgo: '1'
23-
# - os: ubuntu-22.04
23+
# - os: ubuntu-24.04
2424
# cgo: '0'
2525
name: test ${{ matrix.os }} cgo=${{ matrix.cgo }}
2626
runs-on: ${{ matrix.os }}
@@ -53,14 +53,15 @@ jobs:
5353

5454
- name: test ./...
5555
run: gotestsum --junitfile junit.xml -- --tags=examples -timeout 20m ./...
56+
if: ${{ matrix.os }} != "windows-2022"
5657
env:
5758
CI_SQLC_PROJECT_ID: ${{ secrets.CI_SQLC_PROJECT_ID }}
5859
CI_SQLC_AUTH_TOKEN: ${{ secrets.CI_SQLC_AUTH_TOKEN }}
5960
SQLC_AUTH_TOKEN: ${{ secrets.CI_SQLC_AUTH_TOKEN }}
6061
CGO_ENABLED: ${{ matrix.cgo }}
6162

6263
vuln_check:
63-
runs-on: ubuntu-22.04
64+
runs-on: ubuntu-24.04
6465
timeout-minutes: 5
6566

6667
steps:

0 commit comments

Comments
 (0)