Skip to content

Commit

Permalink
fix: include hatch in CI job
Browse files Browse the repository at this point in the history
  • Loading branch information
jenspots committed Sep 12, 2024
1 parent f32a43e commit 54d4350
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,19 +15,28 @@ jobs:
steps:
- name: Checkout repository
uses: actions/checkout@v2
# Instantiate JVM v22.
- name: Set up JDK 17
uses: actions/setup-java@v4
with:
java-version: '21'
java-version: '22'
distribution: 'adopt'
cache: 'gradle'
- name: Set up NPM
# Install hatch to support the Python runtime.
- name: Setup Hatch
uses: pypa/hatch@install
# Install npm in order to support TypeScript and the Node.js runtime.
- name: Setup NPM
uses: actions/setup-node@v2
with:
node-version: '20'
# Create a JAR exposing the Orchestrator library to the individual
# processors.
- name: Create JAR
run: ./gradlew shadowJar --console=plain --warning-mode all
# Attempt to execute the build step.
- name: Build
run: ./gradlew installDist --console=plain --warning-mode all
# Execute test suite.
- name: Run tests
run: ./gradlew test --console=plain --warning-mode all

0 comments on commit 54d4350

Please sign in to comment.