Bump black from 22.10.0 to 23.9.1 #246
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: 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@v2 | |
- 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 |