Skip to content

Commit

Permalink
setup GH actions
Browse files Browse the repository at this point in the history
  • Loading branch information
breandan committed Sep 29, 2024
1 parent 169a515 commit f083d7c
Show file tree
Hide file tree
Showing 4 changed files with 44 additions and 1 deletion.
17 changes: 17 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# Dependabot configuration:
# https://docs.github.com/en/free-pro-team@latest/github/administering-a-repository/configuration-options-for-dependency-updates

version: 2
updates:
# Maintain dependencies for Gradle dependencies
- package-ecosystem: "gradle"
directory: "/"
target-branch: "next"
schedule:
interval: "daily"
# Maintain dependencies for GitHub Actions
- package-ecosystem: "github-actions"
directory: "/"
target-branch: "next"
schedule:
interval: "daily"
23 changes: 23 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: CI

on:
push:
paths:
- '**.kt'
- '**.kts'

jobs:
build:

runs-on: macos-latest

steps:
- uses: actions/checkout@v2
- name: Set up JDK 17
uses: actions/setup-java@v1
with:
java-version: 17
- name: Build with Gradle
run: |
git submodule update --init --recursive
./gradlew test buildPlugin --stacktrace
3 changes: 2 additions & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,8 @@ repositories {
dependencies {
// https://github.com/anyascii/anyascii
implementation("com.anyascii:anyascii:0.3.2")
intellijPlatform{
testImplementation("org.opentest4j:opentest4j:1.3.0")
intellijPlatform {
testImplementation(libs.junit)

bundledPlugins("com.intellij.java")
Expand Down
2 changes: 2 additions & 0 deletions src/test/kotlin/AceTest.kt
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,8 @@ class AceTest : BaseTest() {

typeAndWaitForResults("t")

typeAndWaitForResults(session.tags[1].key)

myFixture.checkResult("tes<caret>t test test")
}

Expand Down

0 comments on commit f083d7c

Please sign in to comment.