Skip to content

final fix for speeding up consecutive searches #1068

final fix for speeding up consecutive searches

final fix for speeding up consecutive searches #1068

Workflow file for this run

name: coveralls
on:
push:
branches: [master, development]
pull_request:
branches: [master, development]
jobs:
coveralls:
runs-on: windows-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: "3.8"
- name: Install packages
shell: bash
run: |
pip install tox coveralls
if [ "$RUNNER_OS" == "Linux" ]; then
sudo apt update
sudo apt-get install libegl1 libopengl0
sudo apt-get install '^libxcb.*-dev' libx11-xcb-dev libglu1-mesa-dev libxrender-dev libxi-dev libxkbcommon-dev libxkbcommon-x11-dev
sudo apt-get install libxcb-xinerama0
sudo apt-get install libxkbcommon-x11-0
sudo apt-get install xorg
sudo apt-get install -y xvfb
fi
- name: Start Xvfb
if: matrix.os == 'ubuntu-latest'
run: |
Xvfb :0 -screen 0 1024x768x24 > /dev/null 2>&1 &
export DISPLAY=:0
- name: Run coverage
run: tox -e py38
- name: Stop Xvfb
if: matrix.os == 'ubuntu-latest'
run: killall Xvfb
# see: https://coveralls-python.readthedocs.io/en/latest/usage/configuration.html#github-actions-support
- name: Upload coverage data to coveralls.io
run: coveralls --service=github
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}