Skip to content

Commit f971230

Browse files
Upgrade Ubuntu runner + MSSQL Version (#4603)
1 parent ca153d5 commit f971230

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

Diff for: .github/workflows/ci.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ permissions:
1111
jobs:
1212
unit-test:
1313
name: unit test
14-
runs-on: ubuntu-20.04
14+
runs-on: ubuntu-24.04
1515
env:
1616
FORCE_COLOR: 1
1717
MIX_ENV: test
@@ -27,7 +27,7 @@ jobs:
2727
- elixir: "1.17.3"
2828
otp: "25.0.4"
2929
- elixir: "1.14.5"
30-
otp: "23.3.4.20"
30+
otp: "24.3.4.17"
3131

3232
steps:
3333
- name: Checkout
@@ -61,7 +61,7 @@ jobs:
6161

6262
integration-test:
6363
name: integration test
64-
runs-on: ubuntu-20.04
64+
runs-on: ubuntu-24.04
6565
env:
6666
FORCE_COLOR: 1
6767
strategy:

Diff for: Earthfile

+2-2
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ integration-test:
4141
WORKDIR /src/ecto_sql
4242

4343
ARG PG_IMG="postgres:11.11"
44-
ARG MCR_IMG="mcr.microsoft.com/mssql/server:2017-latest"
44+
ARG MCR_IMG="mcr.microsoft.com/mssql/server:2019-latest"
4545
ARG MYSQL_IMG="mysql:5.7"
4646

4747
# then run the tests
@@ -56,7 +56,7 @@ integration-test:
5656

5757
# wait for mssql to start
5858
while ! sqlcmd -C -S tcp:127.0.0.1,1433 -U sa -P 'some!Password' -Q "SELECT 1" >/dev/null 2>&1; do \
59-
test "$(date +%s)" -le "$timeout" || (echo "timed out waiting for mysql"; exit 1); \
59+
test "$(date +%s)" -le "$timeout" || (echo "timed out waiting for mssql"; exit 1); \
6060
echo "waiting for mssql"; \
6161
sleep 1; \
6262
done; \

0 commit comments

Comments
 (0)