Skip to content

Commit

Permalink
Merge branch 'main' into dev
Browse files Browse the repository at this point in the history
  • Loading branch information
97gamjak committed Jun 12, 2024
2 parents 68363e7 + 66c8d81 commit 099b132
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 26 deletions.
22 changes: 4 additions & 18 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,27 +35,13 @@ jobs:
python-version: 3.12

- name: Requirements
run: sudo apt-get install -y python3-sphinx
&& pip3 install sphinx-rtd-theme
&& pip3 install breathe
&& pip3 install sphinx-sitemap
&& pip3 install myst-parser
&& pip3 install beartype
&& pip3 install decorator
&& pip3 install numpy
&& pip3 install scipy
&& pip3 install multimethod
&& pip3 install lark
&& pip3 install tqdm
&& pip3 install argcomplete
&& pip3 install yapf
&& pip3 install rich-argparse
&& pip3 install better-apidoc
&& pip3 install six
&& pip3 install .
run: |
sudo apt-get install -y python3-sphinx
pip install .[docs]
- name: Build
run: |
python setup.py build_ext --inplace
cd docs
make clean
rm source/code/*
Expand Down
9 changes: 3 additions & 6 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,9 @@ jobs:
run: |
python3 -m pip install build --user
python3 -m pip install twine --user
python3 -m pip install wheel --user
- name: Build a binary wheel and a source tarball
run: python3 -m build
run: python3 -m build --sdist
- name: Store the distribution packages
uses: actions/upload-artifact@v3
with:
Expand Down Expand Up @@ -88,8 +87,7 @@ jobs:
id: generate_changelog
run: |
name=$(git --no-pager tag --sort=creatordate --merged ${{ github.ref_name }} | tail -2 | head -1)
changelog=$(git-changelog --sections ci,doc,feat,fix,perf,test -F "$name.." -c angular)
echo "changelog=$changelog" >> $GITHUB_OUTPUT
git-changelog --sections ci,doc,feat,fix,perf,test -F "$name.." -c angular > changelog.tmp
- name: Create GitHub Release
env:
Expand All @@ -98,7 +96,7 @@ jobs:
gh release create
'${{ github.ref_name }}'
--repo '${{ github.repository }}'
--notes '${{ steps.generate_changelog.outputs.changelog }}'
--notes "$(cat changelog.tmp)"
- name: Build CHANGELOG.md
run: |
Expand Down Expand Up @@ -144,7 +142,6 @@ jobs:
with:
inputs: >-
./dist/*.tar.gz
./dist/*.whl
- name: Upload artifact signatures to GitHub Release
env:
Expand Down
5 changes: 3 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ dependencies = [
"yapf",
"rich-argparse",
"Cython",
"setuptools",
]

[project.optional-dependencies]
Expand All @@ -44,13 +45,13 @@ test = [
"pylint-django",
"coverage",
"docstr-coverage",
"setuptools",
]
docs = [
"sphinx",
"sphinx-sitemap",
"myst-parser",
"sphinx-rtd-theme",
"breathe",
"myst-parser",
"better-apidoc",
"six",
"docstr-coverage",
Expand Down

0 comments on commit 099b132

Please sign in to comment.