Skip to content

Commit

Permalink
Add CI for grammar tests
Browse files Browse the repository at this point in the history
  • Loading branch information
NicoLaval committed Oct 4, 2024
1 parent 54796ad commit 1c0ca92
Showing 1 changed file with 37 additions and 0 deletions.
37 changes: 37 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
name: "Test VTL grammars"

on:
push:
branches: [ "master", "docs-dev" ]
pull_request:
branches: [ "master", "docs-dev" ]

jobs:
test-2-0-grammar:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set up Maven Central Repository
uses: actions/setup-java@v4
with:
java-version: 21
distribution: "adopt"
- name: Test 2.0 grammar
run: mvn test
working-directory: v2.0
test-2-1-grammar:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set up Maven Central Repository
uses: actions/setup-java@v4
with:
java-version: 21
distribution: "adopt"
- name: Test 2.1 grammar
run: mvn test
working-directory: v2.1

0 comments on commit 1c0ca92

Please sign in to comment.