Skip to content

Commit

Permalink
Add tests CI badge.
Browse files Browse the repository at this point in the history
  • Loading branch information
RowDaBoat committed Feb 19, 2024
1 parent 085566b commit eb69922
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 3 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Publish
name: Test and Publish

on:
push:
Expand All @@ -21,6 +21,9 @@ jobs:
java-version: '11'
distribution: 'adopt'

- name: Test
run: ./gradlew test

- name: Publish
run: ./gradlew publish
env:
Expand Down
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# Kobold Parsing Kit

![ci-badge](https://github.com/RowDaBoat/kobold-parsing-kit/actions/workflows/ci.yml/badge.svg?branch=trunk)

The **Kobold Parsing Kit** is a set of tools designed to create parsers using grammars expressed in a simple domain specific language. No regular expressions, just an easy to learn DSL.

The tools rely on packrat parsing for matching expressions, and resolve multiple left recursive grammars, both direct and indirect, by implementing the solution proposed by Umeda and Maeda in their [excellent contribution](https://www.jstage.jst.go.jp/article/ipsjjip/29/0/29_174/_pdf).
Expand Down
6 changes: 4 additions & 2 deletions build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
import org.jetbrains.kotlin.gradle.plugin.KotlinTargetHierarchy.SourceSetTree.Companion.test

plugins {
kotlin("jvm") version "1.9.0"
id("maven-publish")
`maven-publish`
}

val groupName = "io.vexel"
val libVersion = "1.0.0"
val libVersion = "1.0.0-SNAPSHOT"
val artifactName = "kobold-parsing-kit"

group = groupName
Expand All @@ -20,7 +22,7 @@ dependencies {
testImplementation(kotlin("test"))
}

tasks.test {
tasks.named<Test>("test") {
useJUnitPlatform()
}

Expand Down

0 comments on commit eb69922

Please sign in to comment.