Skip to content

Qt6 / Pyside6

Qt6 / Pyside6 #69

Workflow file for this run

name: lint-build-test
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build_n_lint:
runs-on: ${{ matrix.os }}
strategy:
max-parallel: 9
fail-fast: false
matrix:
os: [windows-latest, ubuntu-latest, macos-latest]
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
steps:
- uses: actions/checkout@v2
name: Checkout
- uses: conda-incubator/setup-miniconda@v2
with:
python-version: ${{ matrix.python-version }}
auto-activate-base: true
activate-environment: test
- name: install packages
run: |
conda install flake8 conda-build
- if: matrix.os == 'ubuntu-latest'
name: Lint with flake8
run: |
${CONDA}/bin/flake8 . --count --select=E901,E999,F821,F822,F823 --show-source --statistics --exclude=.svn,CVS,.bzr,.hg,.git,__pycache__,.tox,.eggs,*.egg,scons,SoPyScript
- name: create package with conda
run: |
cd packaging;
conda build . -c conda-forge --python=${{ matrix.python-version }}