Skip to content

Add workflows for codeql and component testing #4

Add workflows for codeql and component testing

Add workflows for codeql and component testing #4

Workflow file for this run

name: Qanary component test pipeline
on:
pull_request:
types: [opened, synchronize]
branches: [master]
jobs:
test-java:
runs-on: ubuntu-latest
env:
BABELFY_API_KEY : someapikey
CHATGPT_API_KEY : someapikey
DANDELION_API_KEY : someapikey
MEANINGCLOUD_API_KEY : someapikey
TAGME_API_KEY : someapikey
TEXTRAZOR_API_KEY : someapikey
OPENAI_API_KEY : someapikey
BABELFY_API_LIVE_TEST_ACTIVE : false
PLATYPUS_API_LIVE_TEST_ACTIVE : false
TEXTRAZOR_API_LIVE_TEST_ACTIVE : false
BABELFY_API_LIVE_TEST_ACTIVE : false

Check failure on line 22 in .github/workflows/run-tests.yml

View workflow run for this annotation

GitHub Actions / Qanary component test pipeline

Invalid workflow file

The workflow is not valid. .github/workflows/run-tests.yml (Line: 22, Col: 7): 'BABELFY_API_LIVE_TEST_ACTIVE' is already defined
CHATGPT_API_LIVE_TEST_ACTIVE : false
DANDELION_API_LIVE_TEST_ACTIVE : false
MEANINGCLOUD_API_LIVE_TEST_ACTIVE : false
AGDISTIS_API_LIVE_TEST_ACTIVE : false
OPENAI_API_LIVE_TEST_ACTIVE : false
TAGME_API_LIVE_TEST_ACTIVE : false
steps:
- name: Configure java
uses: actions/setup-java@v4
with:
distribution: 'corretto'
java-version: '17'
- uses: actions/checkout@v4
- name: Test Java components
run: bash -c ./service_config/test_java_components.sh
test-python:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Test Python components
run: bash -c ./service_config/test_python_components.sh