-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
339e97b
commit 508b130
Showing
12 changed files
with
364 additions
and
71 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
|
@@ -15,17 +15,17 @@ jobs: | |
- name: Checkout repository | ||
uses: actions/[email protected] | ||
|
||
- name: Setup Python | ||
uses: actions/setup-[email protected] | ||
- name: Setup PDM | ||
uses: pdm-project/setup-pdm@v4 | ||
with: | ||
python-version: '*' | ||
cache: pip | ||
cache: true | ||
|
||
- name: Install the development dependencies | ||
run: pip install -r requirements.txt | ||
- name: Install dependencies | ||
run: pdm install | ||
|
||
- name: Run typechecker | ||
run: pyright | ||
run: pdm run pyright | ||
|
||
lint: | ||
runs-on: windows-latest | ||
|
@@ -34,39 +34,36 @@ jobs: | |
- name: Checkout repository | ||
uses: actions/[email protected] | ||
|
||
- name: Setup Python | ||
uses: actions/setup-[email protected] | ||
- name: Setup PDM | ||
uses: pdm-project/setup-pdm@v4 | ||
with: | ||
python-version: '*' | ||
cache: pip | ||
cache: true | ||
|
||
- name: Install the development dependencies | ||
run: pip install -r requirements.txt | ||
- name: Install dependencies | ||
run: pdm install | ||
|
||
- name: Run linter | ||
run: pylint --recursive=y . | ||
run: pdm run pylint --recursive=y . | ||
|
||
build: | ||
test: | ||
runs-on: windows-latest | ||
|
||
steps: | ||
- name: Checkout repository | ||
uses: actions/[email protected] | ||
|
||
- name: Setup Python | ||
uses: actions/setup-[email protected] | ||
- name: Setup PDM | ||
uses: pdm-project/setup-pdm@v4 | ||
with: | ||
python-version: '*' | ||
cache: pip | ||
cache: true | ||
|
||
- name: Install the development dependencies | ||
run: pip install -r requirements.txt | ||
|
||
- name: Build the extension | ||
run: python setup.py build_ext --inplace | ||
- name: Install dependencies | ||
run: pdm install | ||
|
||
- name: Run tests | ||
run: pytest | ||
run: pdm run pytest | ||
|
||
install: | ||
runs-on: windows-latest | ||
|
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 |
---|---|---|
@@ -1,6 +1,8 @@ | ||
.vscode/ | ||
build/ | ||
dist/ | ||
*.egg-info/ | ||
|
||
*.pyc | ||
*.pyd | ||
*.pyd | ||
.pdm* |
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.