From 577f8d8891c8b594b23839fc7323c6facade5925 Mon Sep 17 00:00:00 2001 From: Ninglin Du Date: Thu, 26 Dec 2024 17:50:45 +0800 Subject: [PATCH] ci --- .github/workflows/duckling.yml | 29 ++++++++++++----------------- 1 file changed, 12 insertions(+), 17 deletions(-) diff --git a/.github/workflows/duckling.yml b/.github/workflows/duckling.yml index 8c2d132e..7da3e162 100644 --- a/.github/workflows/duckling.yml +++ b/.github/workflows/duckling.yml @@ -11,22 +11,17 @@ on: jobs: build: - runs-on: ubuntu-latest + runs-on: ubuntu-20.04 steps: - - uses: actions/checkout@v2 - with: - fetch-depth: 0 - - name: Set up JDK 11 - uses: actions/setup-java@v2 - with: - java-version: '11' - distribution: 'adopt' - - name: Run tests - run: | - cd duckling-fork-chinese - sbt duckModel - sbt +test - sbt coverage - sbt coverageAggregate - bash <(curl -s https://codecov.io/bash) -r du00cs/MiNLP -t 'd2de025e-e5b7-4115-a98e-07e6fc3d7001' + - uses: actions/checkout@v2.3.4 + with: + fetch-depth: 0 + - uses: olafurpg/setup-scala@v10 + - run: | + cd duckling-fork-chinese + sbt duckModel + sbt +test + sbt coverage + sbt coverageAggregate + bash <(curl -s https://codecov.io/bash) -r du00cs/MiNLP -t 'd2de025e-e5b7-4115-a98e-07e6fc3d7001'