Skip to content

Commit de9c32e

Browse files
committed
Add integration test for Bun v1.0.x
This is a follow-on to the official Deno support work in #148.
1 parent c881d93 commit de9c32e

File tree

2 files changed

+22
-1
lines changed

2 files changed

+22
-1
lines changed

.github/workflows/ci.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,27 @@ jobs:
7979
run: |
8080
deno --allow-all test-other/integration_check_deno.ts
8181
82+
test-bun-integration:
83+
runs-on: ubuntu-latest
84+
steps:
85+
- uses: actions/checkout@v4
86+
87+
- name: Install Bun
88+
uses: oven-sh/setup-bun@v2
89+
with:
90+
bun-version: '1.0.36'
91+
92+
- name: Install dependencies
93+
run: bun install
94+
95+
- name: Check Integration
96+
env:
97+
DATADOG_API_KEY: ${{ secrets.DATADOG_API_KEY }}
98+
DATADOG_APP_KEY: ${{ secrets.DATADOG_APP_KEY }}
99+
DATADOG_SITE: ${{ secrets.DATADOG_API_HOST }}
100+
run: |
101+
bun test-other/integration_check.ts '-bun'
102+
82103
lint:
83104
runs-on: ubuntu-latest
84105
steps:

test-other/integration_check.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
import { main } from './integration_check_lib.mjs';
88

9-
main().catch(error => {
9+
main({ tagSuffix: process.argv[2] || '' }).catch(error => {
1010
process.exitCode = 1;
1111
console.error(error);
1212
});

0 commit comments

Comments
 (0)