-
Notifications
You must be signed in to change notification settings - Fork 55
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Add Hatch * Update workflows * Update workflows * Update workflows * Add networkx * Update tests * Add formatters * Drop Poetry refs * Respond to PR comments
- Loading branch information
1 parent
c962092
commit 4fb76f1
Showing
40 changed files
with
486 additions
and
4,832 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 |
---|---|---|
|
@@ -46,20 +46,15 @@ jobs: | |
- name: Install KaTeX | ||
run: | | ||
npm install katex | ||
# Install Poetry and build the documentation | ||
- name: Install and configure Poetry | ||
uses: snok/install-poetry@v1 | ||
with: | ||
version: 1.5.1 | ||
virtualenvs-create: false | ||
virtualenvs-in-project: false | ||
installer-parallel: true | ||
# Install Hatch | ||
- name: Install Hatch | ||
uses: pypa/hatch@install | ||
|
||
- name: Build the documentation with MKDocs | ||
run: | | ||
poetry install --all-extras --with docs | ||
conda install pandoc | ||
poetry run python docs/scripts/gen_examples.py --execute && poetry run mkdocs build | ||
hatch run docs:build | ||
- name: Deploy Page 🚀 | ||
uses: JamesIves/[email protected] | ||
|
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 |
---|---|---|
|
@@ -25,22 +25,10 @@ jobs: | |
with: | ||
python-version: ${{ matrix.python-version }} | ||
|
||
# Install Poetry | ||
- name: Install Poetry | ||
uses: snok/[email protected] | ||
with: | ||
version: 1.5.1 | ||
|
||
# Configure Poetry to use the virtual environment in the project | ||
- name: Setup Poetry | ||
run: | | ||
poetry config virtualenvs.in-project true | ||
# Install the dependencies | ||
- name: Install Package | ||
run: | | ||
poetry install --with docs | ||
# Install Hatch | ||
- name: Install Hatch | ||
uses: pypa/hatch@install | ||
|
||
# Run the unit tests and build the coverage report | ||
- name: Run Integration Tests | ||
run: poetry run python tests/integration_tests.py | ||
run: hatch run docs:integration |
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
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
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.