[Gradle Release Plugin] - pre tag commit: '2021.3-3'. #553
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |