Skip to content

Bump pytest from 7.3.0 to 7.4.2 (#129) #252

Bump pytest from 7.3.0 to 7.4.2 (#129)

Bump pytest from 7.3.0 to 7.4.2 (#129) #252

name: Unit tests
on: [push]
jobs:
build-linux:
runs-on: ubuntu-latest
strategy:
max-parallel: 5
matrix:
python-version: ["3.8", "3.9", "3.10"]
steps:
- uses: actions/checkout@v3
- name: Set up Python 3.10
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Add conda to system path
run: |
# $CONDA is an environment variable pointing to the root of the miniconda directory
echo $CONDA/bin >> $GITHUB_PATH
- name: Install dependencies
run: |
conda env update --file environment.yml --name test-env
- name: Install desktop_shop
run: |
conda install pip
pip install -e .
- name: Install test dependencies
# sudo apt-get install xvfb x11-utils gnumeric required for gui tests running in headless mode
run: |
conda install pip
pip install -r dev-requirements.txt
sudo apt-get install xvfb x11-utils gnumeric
- name: Test with pytest
working-directory: tests
run: |
python run_tests.py --all --no-report