-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Henry Schreiner <[email protected]>
- Loading branch information
Showing
4 changed files
with
13 additions
and
58 deletions.
There are no files selected for viewing
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 |
---|---|---|
|
@@ -20,18 +20,17 @@ jobs: | |
- uses: actions/setup-python@v5 | ||
with: | ||
python-version: "3.x" | ||
- uses: astral-sh/setup-uv@v3 | ||
- uses: pre-commit/[email protected] | ||
with: | ||
extra_args: --all-files --hook-stage manual | ||
- name: PyLint | ||
run: | | ||
echo "::add-matcher::$GITHUB_WORKSPACE/.github/matchers/pylint.json" | ||
pipx run nox -s pylint | ||
run: uvx nox -s pylint -- --output-format=github | ||
|
||
|
||
checks: | ||
name: Check ${{ matrix.os }} Python ${{ matrix.python-version }} | ||
runs-on: ${{ matrix.os }} | ||
|
||
strategy: | ||
fail-fast: false | ||
matrix: | ||
|
@@ -41,7 +40,6 @@ jobs: | |
- {os: macos-13, python-version: '3.9'} | ||
- {os: windows-latest, python-version: '3.8'} | ||
- {os: windows-latest, python-version: '3.11'} | ||
name: Check ${{ matrix.os }} Python ${{ matrix.python-version }} | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
|
@@ -51,8 +49,10 @@ jobs: | |
with: | ||
python-version: ${{ matrix.python-version }} | ||
|
||
- uses: astral-sh/setup-uv@v3 | ||
|
||
- name: Install package | ||
run: python -m pip install -e .[test] | ||
run: uv pip install --system -e .[test] | ||
|
||
- name: Pytest | ||
if: runner.os == 'Linux' | ||
|
@@ -82,17 +82,16 @@ jobs: | |
with: | ||
python-version: "3.x" | ||
|
||
- name: Install package | ||
run: python -m pip install -e .[test] | ||
|
||
- name: Install notebook requirements | ||
run: python -m pip install nbconvert jupyter_client ipykernel | ||
- uses: astral-sh/setup-uv@v3 | ||
|
||
- name: Install dot | ||
run: sudo apt-get install graphviz | ||
|
||
- name: Install pydot | ||
run: python -m pip install pydot | ||
- name: Install package | ||
run: uv pip install --system -e .[test] | ||
|
||
- name: Install notebook requirements | ||
run: uv pip install --system nbconvert jupyter_client ipykernel pydot | ||
|
||
- name: Run the notebooks inplace | ||
run: jupyter nbconvert --execute --inplace notebooks/DecayLanguageDemo.ipynb notebooks/ExampleDecFileParsingWithLark.ipynb |
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