Skip to content
Snippets Groups Projects
Commit 70add167 authored by Kentaro Wada's avatar Kentaro Wada
Browse files

Update .github/workflows/ci.yml

parent d0983dca
Branches
No related tags found
No related merge requests found
...@@ -50,10 +50,11 @@ jobs: ...@@ -50,10 +50,11 @@ jobs:
run: | run: |
if [ "${{ matrix.PYTEST_QT_API }}" = "pyside2" ]; then if [ "${{ matrix.PYTEST_QT_API }}" = "pyside2" ]; then
conda install -q -y pyside2 -c conda-forge conda install -q -y pyside2 -c conda-forge
else # should be installed via pip
conda install -q -y pyqt=5 # else
# conda install -q -y pyqt=5
fi fi
pip install pytest 'pytest-qt<4' pip install -r requirements-dev.txt
- name: Install main - name: Install main
shell: bash -l {0} shell: bash -l {0}
...@@ -64,14 +65,12 @@ jobs: ...@@ -64,14 +65,12 @@ jobs:
shell: bash -l {0} shell: bash -l {0}
if: matrix.os != 'windows-latest' if: matrix.os != 'windows-latest'
run: | run: |
pip install hacking==4.1.0
flake8 . flake8 .
- name: Black - name: Black
shell: bash -l {0} shell: bash -l {0}
if: matrix.os != 'windows-latest' if: matrix.os != 'windows-latest'
run: | run: |
pip install black==22.8.0
black --line-length 79 --check --diff labelme/ black --line-length 79 --check --diff labelme/
- name: Test with pytest - name: Test with pytest
......
black==22.1.0 black==22.8.0
github2pypi==1.0.0 github2pypi==1.0.0
hacking==4.1.0 hacking==4.1.0
pytest pytest
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment