Skip to content

Commit

Permalink
chore: fix the integration tests (#141)
Browse files Browse the repository at this point in the history
* chore: use a larger runner for the integration tests

They were running out of storage on the default runner.

* chore: use the latest versions of the actions

We were getting warnings about unsupported versions.

* chore: upgrade builds/tests to use Go 1.23
  • Loading branch information
plumpy authored Nov 26, 2024
1 parent ce64064 commit 4d5799b
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/integration-linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,17 +16,17 @@ concurrency:
jobs:

test:
runs-on: ubuntu-latest
runs-on: linux-x64-latest-more-storage
steps:
- uses: actions/setup-go@v2
- uses: actions/setup-go@v5
with:
go-version: ^1.17
go-version: ^1.23

- uses: actions/checkout@v2
- uses: actions/checkout@v4
with:
fetch-depth: 0

- uses: actions/cache@v2
- uses: actions/cache@v4
with:
path: ~/go/pkg/mod
key: ${{ runner.os }}-gopkgmod-${{ hashFiles('**/go.sum') }}
Expand Down
2 changes: 1 addition & 1 deletion nodejs/helper-image/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
ARG GOVERSION=1.17
ARG GOVERSION=1.23
FROM --platform=$BUILDPLATFORM golang:${GOVERSION} as build
ARG BUILDPLATFORM
ARG TARGETOS
Expand Down
2 changes: 1 addition & 1 deletion python/helper-image/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ COPY pydevd_2_9_5.patch ./pydevd.patch
RUN patch --binary -p0 -d /dbgpy/pydevd/python3.11/lib/python3.11/site-packages < pydevd.patch
RUN PYTHONUSERBASE=/dbgpy/pydevd-pycharm/python3.11 pip install --user pydevd-pycharm --no-warn-script-location

FROM --platform=$BUILDPLATFORM golang:1.17 as build
FROM --platform=$BUILDPLATFORM golang:1.23 as build
ARG BUILDPLATFORM
ARG TARGETOS
ARG TARGETARCH
Expand Down
2 changes: 1 addition & 1 deletion python/test/pydevconnect/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
# This Dockerfile creates a test image for verifying that pydevd is
# running somewhere.

FROM golang:1.17 as build
FROM golang:1.23 as build
COPY . .
RUN CGO_ENABLED=0 go build -o pydevconnect -ldflags '-s -w -extldflags "-static"' pydevconnect.go

Expand Down

0 comments on commit 4d5799b

Please sign in to comment.