Skip to content

Commit a26d7c6

Browse files
authored
Add JBang tests and renovate support (#13204)
* Add JBang tests and renovate support * Remove AI-generated test name suffix
1 parent 0ea5480 commit a26d7c6

File tree

2 files changed

+34
-0
lines changed

2 files changed

+34
-0
lines changed

.github/workflows/tests.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -273,6 +273,24 @@ jobs:
273273
CI: "true"
274274
DBMS: "postgresql"
275275

276+
jbang:
277+
name: JBang
278+
runs-on: ubuntu-latest
279+
steps:
280+
- name: Checkout source
281+
uses: actions/checkout@v4
282+
with:
283+
submodules: 'false'
284+
show-progress: 'false'
285+
- name: Install JBang
286+
run: |
287+
curl -Ls https://sh.jbang.dev | bash -s - app setup
288+
echo "$HOME/.jbang/bin" >> $GITHUB_PATH
289+
- run: jbang build .jbang/CheckoutPR.java
290+
- run: jbang build .jbang/CloneJabRef.java
291+
- run: jbang build .jbang/JabKitLauncher.java
292+
- run: jbang build .jbang/JabSrvLauncher.java
293+
276294
codecoverage:
277295
if: false
278296
name: Code coverage

renovate.json

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
{
2+
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
3+
"extends": [
4+
"config:base"
5+
],
6+
"regexManagers": [
7+
{
8+
"managerFilePatterns": ".jbang/*.java",
9+
"matchStrings": [
10+
"//DEPS (?<depName>\\S+):(\\${\\S+:(?<currentValue>[^ }]+)})",
11+
"//DEPS ((?<depName>\\S+:\\S+):(?<currentValue>[^$]\\S+))(\\@\\w+)?"
12+
],
13+
"datasourceTemplate": "maven"
14+
}
15+
]
16+
}

0 commit comments

Comments
 (0)