Skip to content

Commit

Permalink
update github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
LegrandNico committed Oct 14, 2024
1 parent 56dcd6f commit 06246e8
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 14 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,8 @@ jobs:
- name: Build
run: |
sudo apt-get install graphviz
pip install -r requirements-docs.txt
pip install poetry
poetry install --with dev
sphinx-build -j 4 -T -b html docs/source docs/build/html
- name: Deploy Stable 🚀
Expand Down
14 changes: 3 additions & 11 deletions .github/workflows/pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,20 +14,12 @@ jobs:
with:
python-version: "3.12"

- name: Install pypa/build
- name: Install poetry
run: >-
python -m
pip install
build
--user
python -m pip install poetry --user
- name: Build a binary wheel and a source tarball
run: >-
python -m
build
--sdist
--wheel
--outdir dist/
.
python -m poetry build
- name: Store the distribution packages
uses: actions/upload-artifact@v3
with:
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,7 @@ jobs:
- name: Install dependencies
run: |
sudo apt-get install graphviz
pip install -r requirements-tests.txt
pip install ipykernel coverage pytest pytest-cov
pip install poetry ipykernel coverage pytest pytest-cov
python -m ipykernel install --user --name python3
- name: Run tests and coverage
run: |
Expand Down

0 comments on commit 06246e8

Please sign in to comment.