-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1 from jhnnsrs/experimental-process
Experimental support for processes
- Loading branch information
Showing
30 changed files
with
1,829 additions
and
684 deletions.
There are no files selected for viewing
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,83 @@ | ||
name: Python Code Quality and Style Check | ||
on: | ||
push: | ||
branches: [master] | ||
paths: [koil/**, tests/**] | ||
pull_request: | ||
branches: [master] | ||
paths: [koil/**, tests/**] | ||
jobs: | ||
ruff: | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
python-version: ["3.11"] | ||
poetry-version: [1.7] | ||
os: [ubuntu-latest] | ||
runs-on: ${{ matrix.os }} | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: actions/setup-python@v2 | ||
with: | ||
python-version: ${{ matrix.python-version }} | ||
- uses: tlambert03/setup-qt-libs@v1 | ||
- name: Run image | ||
uses: abatilo/actions-poetry@v2.0.0 | ||
with: | ||
poetry-version: ${{ matrix.poetry-version }} | ||
- name: Run Poetry Install | ||
run: poetry install --all-extras | ||
- name: Install Qt because Qt sucks with Poetry | ||
run: poetry run pip install pyqt5 pyqtwebengine | ||
- name: Run Ruff | ||
run: poetry run ruff . | ||
mypy: | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
python-version: ["3.11"] | ||
poetry-version: [1.7] | ||
os: [ubuntu-latest] | ||
runs-on: ${{ matrix.os }} | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: actions/setup-python@v2 | ||
with: | ||
python-version: ${{ matrix.python-version }} | ||
|
||
- uses: tlambert03/setup-qt-libs@v1 | ||
- name: Run image | ||
uses: abatilo/actions-poetry@v2.0.0 | ||
with: | ||
poetry-version: ${{ matrix.poetry-version }} | ||
- name: Run Poetry Install | ||
run: poetry install --all-extras | ||
- name: Install Qt because Qt sucks with Poetry | ||
run: poetry run pip install pyqt5 pyqtwebengine | ||
- name: Run Mypy | ||
run: poetry run mypy . | ||
black: | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
python-version: ["3.11"] | ||
poetry-version: [1.4] | ||
os: [ubuntu-latest] | ||
runs-on: ${{ matrix.os }} | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: actions/setup-python@v2 | ||
with: | ||
python-version: ${{ matrix.python-version }} | ||
- uses: tlambert03/setup-qt-libs@v1 | ||
- name: Run image | ||
uses: abatilo/actions-poetry@v2.0.0 | ||
with: | ||
poetry-version: ${{ matrix.poetry-version }} | ||
- name: Run Poetry Install | ||
run: poetry install --all-extras | ||
- name: Install Qt because Qt sucks with Poetry | ||
run: poetry run pip install pyqt5 pyqtwebengine | ||
- name: Run black | ||
run: poetry run black --check . | ||
|
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
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
Oops, something went wrong.