From 18d07476ec102406519feba59ad6871a1f7d7d1f Mon Sep 17 00:00:00 2001 From: Jens Pots Date: Thu, 12 Sep 2024 13:03:27 +0200 Subject: [PATCH] fix: include `hatch` in CI job --- .github/workflows/test.yml | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 075b928..f4c2f86 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -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@nstall + # 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