Skip to content

Commit

Permalink
update docs add pypi-test action
Browse files Browse the repository at this point in the history
  • Loading branch information
DanteOnline committed Mar 13, 2024
1 parent 4a45480 commit 4e091a7
Show file tree
Hide file tree
Showing 4 changed files with 36 additions and 6 deletions.
3 changes: 0 additions & 3 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,6 @@
name: Deploy Documentation to GitHub pages

on:
release:
types: [published]

# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:

Expand Down
32 changes: 32 additions & 0 deletions .github/workflows/pypi-tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: Test PyPi package

on:
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:

jobs:
build:

runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.10", "3.11"]
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v3
with:
python-version: ${{ matrix.python-version }}
- name: Delete local package
run: |
rm -rf ./pygenesis
- name: Install package from PyPi
run: |
python -m pip install --upgrade pip
pip install -U pygenesis
- name: Install Dev Requirements
run: |
pip install -r dev-requirements.txt
- name: Run tests
run: |
make test

Check failure on line 32 in .github/workflows/pypi-tests.yml

View workflow job for this annotation

GitHub Actions / build

32:18 [new-line-at-end-of-file] no new line character at the end of file
3 changes: 2 additions & 1 deletion docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,12 @@
Welcome to PyGenesis's documentation!
============================================

.. include:: about.rst

.. toctree::
:maxdepth: 2
:caption: Contents:

about
install
quickstart
dev_documentation
Expand Down
4 changes: 2 additions & 2 deletions pygenesis/package.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@
Package info
"""
name = 'pygenesis'
version = '1.0.1'
status = '4 - Beta'
version = '1.1.0'
status = '5 - Production/Stable'

0 comments on commit 4e091a7

Please sign in to comment.