Skip to content

Commit

Permalink
Merge pull request #7 from libresource/actions
Browse files Browse the repository at this point in the history
Actions
  • Loading branch information
quillcraftsman authored Mar 13, 2024
2 parents 4a45480 + 7b2e13e commit e7325d3
Show file tree
Hide file tree
Showing 5 changed files with 40 additions and 6 deletions.
4 changes: 4 additions & 0 deletions .github/FUNDING.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# These are supported funding model platforms

github: [quillcraftsman]
custom: ['https://www.buymeacoffee.com/craftsman']
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
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 e7325d3

Please sign in to comment.