Skip to content

Added setuptools dependency for python version >= 3.12 #675

Added setuptools dependency for python version >= 3.12

Added setuptools dependency for python version >= 3.12 #675

Workflow file for this run

name: TackleTest-UI CI
on:
push:
paths-ignore:
- 'tkltest/unit/**'
- 'tkltest-lib/pom.xml'
- 'doc/**'
- 'experiment/**'
- 'setup/tkltestunit**'
- 'test/unit/**'
- '.github/workflows/tkltest_unit_ci.yml'
- '.github/workflows/release**'
- '.gitattributes'
- '.gitignore'
- '**.md'
pull_request:
paths-ignore:
- 'tkltest/unit/**'
- 'tkltest-lib/pom.xml'
- 'doc/**'
- 'experiment/**'
- 'setup/tkltestunit**'
- 'test/unit/**'
- '.github/workflows/tkltest_unit_ci.yml'
- '.github/workflows/release**'
- '.gitattributes'
- '.gitignore'
- '**.md'
jobs:
build:
strategy:
matrix:
version: ['3.9', '3.10', '3.11']
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Free up Ubuntu Runner disk space
uses: jlumbroso/free-disk-space@main
with:
tool-cache: false
android: true
dotnet: true
haskell: true
large-packages: false
docker-images: true
swap-storage: true
- name: Set up Python ${{ matrix.version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.version }}
- name: Set up JDK 11
uses: actions/setup-java@v3
with:
java-version: '11'
distribution: 'adopt'
- name: Install prerequisites
run: |
sudo apt-get -qq update
sudo apt-get -qq install -y libgtk2.0-0 chromium-chromedriver
sudo npm install -g bats
bats --version
chromedriver --version
- name: Download Java libraries
run: |
cd tkltest-lib
./download_lib_jars_ui.sh
cd ..; ls tkltest-lib/*
- name: Install Python dependencies
run: |
python -m pip install --upgrade pip
- name: Pull test webapps
run: |
git submodule init
git submodule update
- name: Install tkltest-ui command
run: |
python -m venv venv
source venv/bin/activate
cp setup/tkltestui.setup.py ./setup.py
pip install .
which tkltest-ui
# - name: Run labeling unit tests
# run: |
# source venv/bin/activate
# nosetests test/ui/heuristic_labels_test.py
- name: Run tkltest-ui help/config tests
run: |
source venv/bin/activate
bats --print-output-on-failure test/ui/test_cli.bats
- name: Run tkltest-ui generate/execute tests - petclinic
run: |
source venv/bin/activate
bats --print-output-on-failure test/ui/test_cli_petclinic.bats
- name: Run tkltest-ui generate/execute tests - addressbook
run: |
source venv/bin/activate
bats --print-output-on-failure test/ui/test_cli_addressbook.bats
- name: Run tkltest-ui help/config tests using docker-compose
run: |
bats --print-output-on-failure test/ui/test_cli_docker.bats
- name: Run tkltest-ui generate/execute tests using docker-compose - petclinic
run: |
bats test/ui/test_cli_docker_petclinic.bats
- name: Run tkltest-ui generate/execute tests using docker-compose - addressbook
run: |
bats --print-output-on-failure test/ui/test_cli_docker_addressbook.bats