seeing if I can access the twine info in release #31
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
on: push | |
jobs: | |
do-the-thing: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: '3.x' | |
- uses: tj-actions/changed-files@v45 | |
id: changed-files | |
- name: tests and coverage | |
run: | | |
pip install numpy matplotlib scipy scikit-learn pytest coveralls | |
coverage run --source=skpp -m pytest -s | |
coveralls | |
env: | |
COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }} | |
- name: sphinx things | |
run: | | |
pip install sphinx sphinx-gallery | |
sphinx-build doc out | |
- name: LaTeX stuff | |
if: contains(steps.changed-files.outputs.modified_files, 'doc/math.tex') | |
run: | | |
sudo apt-get install texlive texlive-latex-extra | |
pdflatex -output-directory=out doc/math.tex | |
- name: deploy to pages | |
uses: peaceiris/actions-gh-pages@v4 | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
publish_dir: out | |
keep_files: true |