Skip to content

Commit

Permalink
Merge pull request #3 from dlants/tests
Browse files Browse the repository at this point in the history
setup bun test workflow
  • Loading branch information
dlants authored Dec 28, 2024
2 parents 87e0a23 + 0d31c81 commit aaa1a6e
Show file tree
Hide file tree
Showing 5 changed files with 34 additions and 72 deletions.
1 change: 1 addition & 0 deletions .bun-version
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
1.1.38
25 changes: 0 additions & 25 deletions .github/workflows/docs.yml

This file was deleted.

33 changes: 0 additions & 33 deletions .github/workflows/lint-test.yml

This file was deleted.

14 changes: 0 additions & 14 deletions .github/workflows/release.yml

This file was deleted.

33 changes: 33 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: Tests

on:
push:
branches: [ main ]
pull_request:
branches: [ main ]

jobs:
test:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3

- name: Setup Neovim
uses: rhysd/action-setup-vim@v1
with:
neovim: true
version: stable

- name: Setup Bun
uses: oven-sh/setup-bun@v2
with:
bun-version-file: ".bun-version"

- name: Install dependencies
working-directory: ./bun
run: bun install --frozen-lockfile

- name: Run tests
working-directory: ./bun
run: bun test

0 comments on commit aaa1a6e

Please sign in to comment.