Skip to content

Commit ed0e526

Browse files
committed
Revert "add return code warning"
This reverts commit a4e2ce7.
1 parent a4e2ce7 commit ed0e526

File tree

2 files changed

+252
-0
lines changed

2 files changed

+252
-0
lines changed

.github/workflows/build.yml

Lines changed: 250 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,155 @@ jobs:
7979
- name: Functional Testing
8080
run: make func-test
8181

82+
node-integration:
83+
name: ${{ matrix.os }} / ${{ matrix.python }} / node ${{ matrix.nodejs }} / npm ${{ matrix.npm }}.x
84+
if: github.repository_owner == 'aws'
85+
runs-on: ${{ matrix.os }}
86+
strategy:
87+
fail-fast: false
88+
matrix:
89+
os:
90+
- ubuntu-latest
91+
- windows-latest
92+
python:
93+
- "3.13"
94+
npm:
95+
- 8
96+
- 9
97+
- 10
98+
- 11
99+
nodejs:
100+
- 20
101+
- 22
102+
- 24
103+
steps:
104+
- uses: actions/checkout@v6
105+
- uses: actions/setup-python@v6
106+
with:
107+
python-version: ${{ matrix.python }}
108+
- uses: actions/setup-node@v6
109+
with:
110+
node-version: ${{ matrix.nodejs }}
111+
- if: ${{ matrix.npm }}
112+
run: npm install -g npm@${{ matrix.npm }}
113+
- run: npm --version
114+
- run: make init
115+
- run: pytest -vv tests/integration/workflows/nodejs_npm
116+
117+
node-esbuild-integration:
118+
name: ${{ matrix.os }} / ${{ matrix.python }} / esbuild / node ${{ matrix.nodejs }} / npm ${{ matrix.npm }}.x
119+
if: github.repository_owner == 'aws'
120+
runs-on: ${{ matrix.os }}
121+
strategy:
122+
fail-fast: false
123+
matrix:
124+
os:
125+
- ubuntu-latest
126+
- windows-latest
127+
python:
128+
- "3.13"
129+
npm:
130+
- 8
131+
- 9
132+
- 10
133+
- 11
134+
nodejs:
135+
- 20
136+
- 22
137+
- 24
138+
steps:
139+
- uses: actions/checkout@v6
140+
- uses: actions/setup-python@v6
141+
with:
142+
python-version: ${{ matrix.python }}
143+
- uses: actions/setup-node@v6
144+
with:
145+
node-version: ${{ matrix.nodejs }}
146+
- if: ${{ matrix.npm }}
147+
run: npm install -g npm@${{ matrix.npm }}
148+
- run: npm --version
149+
- run: make init
150+
- run: pytest -vv tests/integration/workflows/nodejs_npm_esbuild
151+
152+
golang-integration:
153+
name: ${{ matrix.os }} / ${{ matrix.python }} / golang
154+
if: github.repository_owner == 'aws'
155+
runs-on: ${{ matrix.os }}
156+
strategy:
157+
fail-fast: false
158+
matrix:
159+
os:
160+
- ubuntu-latest
161+
- windows-latest
162+
python:
163+
- "3.13"
164+
steps:
165+
- uses: actions/checkout@v6
166+
- uses: actions/setup-python@v6
167+
with:
168+
python-version: ${{ matrix.python }}
169+
- uses: actions/setup-go@v6
170+
with:
171+
go-version: '^1.16'
172+
- run: make init
173+
- run: pytest -vv tests/integration/workflows/go_modules
174+
175+
java-maven-integration:
176+
name: ${{ matrix.os }} / ${{ matrix.python }} / java maven / java ${{ matrix.java }}
177+
if: github.repository_owner == 'aws'
178+
runs-on: ${{ matrix.os }}
179+
strategy:
180+
fail-fast: false
181+
matrix:
182+
os:
183+
- ubuntu-latest
184+
- windows-latest
185+
python:
186+
- "3.13"
187+
java:
188+
- "21"
189+
- "25"
190+
steps:
191+
- uses: actions/checkout@v6
192+
- uses: actions/setup-python@v6
193+
with:
194+
python-version: ${{ matrix.python }}
195+
- uses: actions/setup-java@v5
196+
with:
197+
distribution: 'corretto'
198+
java-version: ${{ matrix.java }}
199+
- run: make init
200+
- run: pytest -vv tests/integration/workflows/java_maven
201+
202+
java-gradle-integration:
203+
name: ${{ matrix.os }} / ${{ matrix.python }} / java gradle / java ${{ matrix.java }}
204+
if: github.repository_owner == 'aws'
205+
runs-on: ${{ matrix.os }}
206+
env:
207+
GRADLE_OPTS: -Dorg.gradle.daemon=false
208+
strategy:
209+
fail-fast: false
210+
matrix:
211+
os:
212+
- ubuntu-latest
213+
- windows-latest
214+
python:
215+
- "3.13"
216+
java:
217+
- "21"
218+
- "25"
219+
steps:
220+
- uses: actions/checkout@v6
221+
- uses: actions/setup-python@v6
222+
with:
223+
python-version: ${{ matrix.python }}
224+
- uses: actions/setup-java@v5
225+
with:
226+
distribution: 'zulu'
227+
java-version: ${{ matrix.java }}
228+
- run: make init
229+
- run: pytest -vv tests/integration/workflows/java_gradle
230+
82231
custom-make-integration:
83232
name: ${{ matrix.os }} / ${{ matrix.python }} / custom make
84233
if: github.repository_owner == 'aws'
@@ -99,6 +248,35 @@ jobs:
99248
- run: make init
100249
- run: pytest -vv tests/integration/workflows/custom_make
101250

251+
python-integration:
252+
name: ${{ matrix.os }} / ${{ matrix.python }} / python
253+
if: github.repository_owner == 'aws'
254+
runs-on: ${{ matrix.os }}
255+
strategy:
256+
fail-fast: false
257+
matrix:
258+
os:
259+
- ubuntu-latest
260+
- windows-latest
261+
python:
262+
- "3.9"
263+
- "3.10"
264+
- "3.11"
265+
- "3.12"
266+
- "3.13"
267+
- "3.14"
268+
steps:
269+
- uses: actions/checkout@v6
270+
- uses: actions/setup-python@v6
271+
with:
272+
python-version: ${{ matrix.python }}
273+
- run: |
274+
python -m pip install --upgrade pip
275+
pip install --upgrade setuptools
276+
if: ${{ matrix.os }} == 'ubuntu-latest' && ${{ matrix.python }} == '3.12'
277+
- run: make init
278+
- run: pytest -vv tests/integration/workflows/python_pip
279+
102280
ruby-integration:
103281
name: ${{ matrix.os }} / ${{ matrix.python }} / ruby
104282
if: github.repository_owner == 'aws'
@@ -123,3 +301,75 @@ jobs:
123301
- run: ruby -rbundler -e'p Bundler::CLI.printable_commands(true)'
124302
- run: bundle cli_help
125303
- run: pytest -vv tests/integration/workflows/ruby_bundler
304+
305+
dotnet-integration:
306+
name: ${{ matrix.os }} / ${{ matrix.python }} / dotnet
307+
if: github.repository_owner == 'aws'
308+
runs-on: ${{ matrix.os }}
309+
strategy:
310+
fail-fast: false
311+
matrix:
312+
os:
313+
- ubuntu-latest
314+
- windows-latest
315+
python:
316+
- "3.13"
317+
steps:
318+
- uses: actions/checkout@v6
319+
- uses: actions/setup-python@v6
320+
with:
321+
python-version: ${{ matrix.python }}
322+
- run: make init
323+
- run: pytest -vv tests/integration/workflows/dotnet_clipackage
324+
325+
rust-cargo-lambda-integration:
326+
name: ${{ matrix.os }} / ${{ matrix.python }} / rust-cargo-lambda
327+
if: github.repository_owner == 'aws'
328+
runs-on: ${{ matrix.os }}
329+
env:
330+
CARGO_LAMBDA_VERSION: 0.15.0
331+
defaults:
332+
run:
333+
shell: bash
334+
strategy:
335+
fail-fast: false
336+
matrix:
337+
os:
338+
- ubuntu-latest
339+
- windows-latest
340+
python:
341+
- "3.13"
342+
rust:
343+
- stable
344+
steps:
345+
- uses: actions/checkout@v6
346+
- uses: actions/setup-python@v6
347+
with:
348+
python-version: ${{ matrix.python }}
349+
350+
# Install and configure Rust
351+
- name: Install rustup
352+
run: |
353+
: install rustup if needed
354+
if ! command -v rustup &> /dev/null ; then
355+
curl --proto '=https' --tlsv1.2 --retry 10 --retry-connrefused -fsSL "https://sh.rustup.rs" | sh -s -- --default-toolchain none -y
356+
echo "${CARGO_HOME:-$HOME/.cargo}/bin" >> $GITHUB_PATH
357+
fi
358+
if: ${{ matrix.os }} == 'ubuntu-latest'
359+
- name: rustup toolchain install ${{ matrix.rust }}
360+
run: rustup toolchain install ${{ matrix.rust }} --profile minimal --no-self-update
361+
- run: rustup default ${{ matrix.rust }}
362+
- run: |
363+
: disable incremental compilation
364+
echo CARGO_INCREMENTAL=0 >> $GITHUB_ENV
365+
- run: |
366+
: enable colors in Cargo output
367+
echo CARGO_TERM_COLOR=always >> $GITHUB_ENV
368+
369+
# Install and configure Cargo Lambda
370+
- name: Install Cargo Lambda
371+
run: pip install cargo-lambda==$CARGO_LAMBDA_VERSION
372+
- run: echo "$HOME/.local/bin" >> $GITHUB_PATH
373+
374+
- run: make init
375+
- run: pytest -vv tests/integration/workflows/rust_cargo

tests/integration/workflows/ruby_bundler/test_ruby.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@
1919
("runtime",),
2020
[
2121
("ruby3.2",),
22+
# ("ruby3.3",),
23+
# ("ruby3.4",),
2224
],
2325
)
2426
class TestRubyWorkflow(TestCase):

0 commit comments

Comments
 (0)