Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

re-enable all linux tests #13

Merged
merged 4 commits into from
May 6, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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