Skip to content

setup release plugin #549

setup release plugin

setup release plugin #549

name: FunctionalTests
on: [push]
jobs:
run-functional-tests:
runs-on: ubuntu-latest
timeout-minutes: 25
steps:
- name: Set up Python 3.7
uses: actions/setup-python@v2
with:
python-version: 3.7
- uses: actions/checkout@v1
- name: Set up JDK 11
uses: actions/setup-java@v1
with:
java-version: 11
- name: Install through Poetry
run: |
cd functional_tests
curl -sSL https://raw.githubusercontent.com/python-poetry/poetry/master/get-poetry.py | python
source $HOME/.poetry/env
mkdir -p ~/.cache/pypoetry/virtualenvs
poetry env use python
poetry install
- name: Prepare Functional Tests
run: |
./gradlew prepareFunctionalTests
- name: buildProtocolLanguage
run: |
cd functional_tests
../gradlew buildProtocolLanguage
- name: Execute functional tests
run: |
cd functional_tests
source $HOME/.poetry/env
poetry env use python
sh execute_functional_tests.sh
- uses: actions/upload-artifact@v2
if: failure()
with:
name: logs
path: server_log_*.txt