Skip to content

Commit

Permalink
Merge pull request #9 from solita/add-tests-in-ci
Browse files Browse the repository at this point in the history
Add tests in CI
  • Loading branch information
solita-antti-mottonen authored Jun 11, 2024
2 parents 025ba07 + cb5b4c5 commit e6963e9
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 6 deletions.
15 changes: 14 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,18 @@ on:
- master

jobs:
build:
build-node:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: '22'
- run: npm ci
- run: npm test

build-jvm:
runs-on: ubuntu-latest

steps:
Expand All @@ -20,5 +31,7 @@ jobs:
uses: DeLaGuardo/[email protected]
with:
lein: 2.9.1
- name: Run tests
run: lein test
- name: Build
run: lein jar
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,5 @@ lein test

JS-tests are run with Shadow-cljs. Install npm, run `npm install` and execute tests:
```
npm run test
npm test
```
8 changes: 4 additions & 4 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit e6963e9

Please sign in to comment.