mirror of
https://github.com/stanfordnlp/CoreNLP.git
synced 2026-03-26 07:21:43 +00:00
30 lines
1.3 KiB
YAML
30 lines
1.3 KiB
YAML
name: Run Tests
|
|
on: [push]
|
|
jobs:
|
|
Run-Mistral-Tests:
|
|
runs-on: self-hosted
|
|
steps:
|
|
- run: echo "🎉 The job was automatically triggered by a ${{ github.event_name }} event."
|
|
- run: echo "🐧 This job is now running on a ${{ runner.os }} server hosted by GitHub!"
|
|
- run: echo "🔎 The name of your branch is ${{ github.ref }} and your repository is ${{ github.repository }}."
|
|
- name: Check out repository code
|
|
uses: actions/checkout@v2
|
|
- run: echo "💡 The ${{ github.repository }} repository has been cloned to the runner."
|
|
- run: echo "🖥️ The workflow is now ready to test your code on the runner."
|
|
- name: Setup
|
|
run: |
|
|
pwd
|
|
ant clean
|
|
ant
|
|
echo "Done compiling."
|
|
- name: Run Basic ITest
|
|
if: always()
|
|
run: |
|
|
export CLASSPATH=/home/stanzabuild/corenlp-github-actions/actions-runner/_work/CoreNLP/CoreNLP/classes:\
|
|
/home/stanzabuild/corenlp-github-actions/actions-runner/_work/CoreNLP/CoreNLP/classes:\
|
|
/scr/CoreNLP-models/*:
|
|
echo $CLASSPATH
|
|
java -Xmx10g org.junit.runner.JUnitCore edu.stanford.nlp.pipeline.KBPAnnotatorChineseBenchmarkSlowITest
|
|
- run: echo "All tests finished!"
|
|
- run: echo "🍏 This job's status is ${{ job.status }}."
|