Skip to content

Commit

Permalink
Enable integration tests (#171)
Browse files Browse the repository at this point in the history
Enable integrations tests by checking out the grobid-home and copying models
  • Loading branch information
lfoppiano committed Feb 28, 2024
1 parent 53f1147 commit b9250a2
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/ci-integration-manual.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: Run integration tests manually

on:
- workflow_dispatch
- push:
branches:
- master


jobs:
build:
runs-on: ubuntu-latest

steps:
- name: Checkout grobid home
uses: actions/checkout@v4
with:
repository: kermitt2/grobid
path: ./grobid
- name: Checkout grobid-quantities
uses: actions/checkout@v4
with:
path: ./grobid/grobid-quantities
- name: Set up JDK 17
uses: actions/setup-java@v4
with:
java-version: '17.0.10+7'
distribution: 'temurin'
cache: 'gradle'
- name: Build and run integration tests
working-directory: ./grobid/grobid-quantities
run: ./gradlew copyModels integration --no-daemon

0 comments on commit b9250a2

Please sign in to comment.