Skip to content

Bump mypy from 1.2.0 to 1.6.1 #271

Bump mypy from 1.2.0 to 1.6.1

Bump mypy from 1.2.0 to 1.6.1 #271

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@v4
- name: Set up Python 3.10
uses: actions/setup-python@v4
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