Skip to content

Commit

Permalink
re-enable all linux tests (#13)
Browse files Browse the repository at this point in the history
  • Loading branch information
szymonkaliski authored May 6, 2024
1 parent 5a9c0ea commit 21fbd53
Show file tree
Hide file tree
Showing 5 changed files with 279 additions and 358 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ jobs:
run: ls -R .
shell: bash
- name: Test bindings
run: bun test
run: bun test:darwin

test-linux-binding:
name: Test on ${{ matrix.settings.target }}
Expand Down Expand Up @@ -165,7 +165,7 @@ jobs:
run: ls -R .
shell: bash
- name: Test bindings
run: docker run --rm -v $(pwd):/build -w /build oven/bun:1.1.6 bun test
run: docker run --rm -v $(pwd):/build -w /build oven/bun:1.1.6 bun test:linux

publish:
name: Publish
Expand Down
355 changes: 0 additions & 355 deletions index.test.ts

This file was deleted.

3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,8 @@
"build": "napi build --platform --release",
"build:debug": "napi build --platform",
"prepublishOnly": "napi prepublish -t npm",
"test": "bun test",
"test:linux": "bun test tests/linux.test.ts",
"test:darwin": "bun test tests/darwin.test.ts",
"universal": "napi universal",
"version": "napi version",
"release": "npm publish --access public",
Expand Down
3 changes: 3 additions & 0 deletions tests/darwin.test.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
// TODO: someday, test macOS -- best on node.js, or Bun if the `fd` issues are fixeds

describe('PTY', () => {});
Loading

0 comments on commit 21fbd53

Please sign in to comment.