Skip to content

Commit

Permalink
adding CI
Browse files Browse the repository at this point in the history
  • Loading branch information
sombriks committed Jun 25, 2024
1 parent c94496d commit 54c6780
Show file tree
Hide file tree
Showing 5 changed files with 56 additions and 3 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
@@ -1,2 +1,19 @@
---
name: GO CI
on:
push:
branches: [main]
workflow_dispatch:
defaults:
run:
working-directory: sample-kanban-go
jobs:
run-tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v4
with:
go-version-file: './go.mod'
- run: go build -v ./...
- run: go test -cover -v ./...
17 changes: 17 additions & 0 deletions .github/workflows/jvm.yml
Original file line number Diff line number Diff line change
@@ -1,2 +1,19 @@
---
name: JVM CI
on:
push:
branches: [main]
workflow_dispatch:
defaults:
run:
working-directory: sample-kanban-jvm
jobs:
run-tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-java@v4
with:
distribution: oracle
java-version: 17
- run: ./gradlew built bootJar
17 changes: 17 additions & 0 deletions .github/workflows/node.yml
Original file line number Diff line number Diff line change
@@ -1,2 +1,19 @@
---
name: Node CI
on:
push:
branches: [main]
workflow_dispatch:
defaults:
run:
working-directory: sample-kanban-node
jobs:
run-tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version-file: ./package.json
- run: npm ci
- run: npm run test
5 changes: 2 additions & 3 deletions sample-kanban-jvm/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,8 @@ Or:
for the database using the regular configuration instead of the TestContainer.
- Mockito still present issues with kotlin. The `mockito-kotlin` dependency is
there just to solve that.
- The [layout dialect for thymeleaf][layout]
delivers important feature on view design which, in my opinion, should be part
of the main thing.
- The [layout dialect for thymeleaf][layout] delivers important feature on view
- design which, in my opinion, should be part of the main thing.
- On the other hand, whenever a development error happens, (i.e. forgot to feed
proper data in spring mvc model), thymeleaf fails to deliver the correct
faulty template name, lost itself in the include maze that can form very
Expand Down
3 changes: 3 additions & 0 deletions sample-kanban-node/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,9 @@
"supertest": "^7.0.0",
"xo": "^0.58.0"
},
"engines": {
"node": ">=18"
},
"ava": {
"verbose": true,
"require": [
Expand Down

0 comments on commit 54c6780

Please sign in to comment.