Skip to content

Commit

Permalink
Merge pull request #1 from jjpaulo2/release/v1
Browse files Browse the repository at this point in the history
Release - v1
  • Loading branch information
jjpaulo2 authored Aug 3, 2024
2 parents 0c37829 + 7b25c61 commit c1d0838
Show file tree
Hide file tree
Showing 53 changed files with 4,067 additions and 479 deletions.
50 changes: 50 additions & 0 deletions .github/workflows/docs.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
name: Documentation

on:
push:
branches:
- main

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

jobs:
mkdocs:

runs-on: ubuntu-latest
timeout-minutes: 20

environment:
name: github-pages
url: https://jjpaulo2.github.io/fastrpa/

permissions:
pages: write
id-token: write

steps:
- name: Checkout Code
uses: actions/checkout@v4

- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: '3.11'

- name: Install and configure Poetry
uses: snok/install-poetry@v1

- name: Install dependencies
run: poetry install

- name: Build the docs site
run: poetry run mkdocs build

- name: Upload site artifactory
uses: actions/upload-pages-artifact@v3
with:
path: site

- name: Deploy to GitHub Pages
uses: actions/deploy-pages@v4
49 changes: 49 additions & 0 deletions .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
name: Publish

on:
push:
tags:
- '*'

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

jobs:
python:
environment:
name: pypi
url: https://pypi.org/project/fastrpa/

permissions:
id-token: write

runs-on: ubuntu-latest
timeout-minutes: 20

steps:
- name: Checkout Code
uses: actions/checkout@v4

- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: '3.10'

- name: Install and configure Poetry
uses: snok/install-poetry@v1

- name: Install dependencies
run: poetry install --with dev

- name: Build package
run: poetry build

- name: Upload build artifacts
uses: actions/upload-artifact@v4
with:
name: fastrpa-${{ github.ref_name }}
path: dist/*

- name: Publish package to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
71 changes: 71 additions & 0 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,71 @@
name: Tests

on:
pull_request:
push:
branches:
- main

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

jobs:
python:

strategy:
matrix:
python_version: ['3.10', '3.11', '3.12']

runs-on: ubuntu-latest
timeout-minutes: 20


steps:
- name: Checkout Code
uses: actions/checkout@v4

- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python_version }}

- name: Install and configure Poetry
uses: snok/install-poetry@v1

- name: Install dependencies
run: poetry install --with dev

- name: Check code issues
run: poetry run task check

- name: Check security issues
run: poetry run task security

- name: Unit tests
run: poetry run task tests

- name: Build the project
run: poetry build

docs:
runs-on: ubuntu-latest
timeout-minutes: 20

steps:
- name: Checkout Code
uses: actions/checkout@v4

- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: '3.10'

- name: Install and configure Poetry
uses: snok/install-poetry@v1

- name: Install dependencies
run: poetry install --with dev

- name: Build the docs
run: poetry run mkdocs build
31 changes: 31 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,9 @@ ENV/
env.bak/
venv.bak/

# Mkdocs build
site/

# Spyder project settings
.spyderproject
.spyproject
Expand Down Expand Up @@ -176,3 +179,31 @@ cython_debug/

# Project
*debug*.py

# General
.DS_Store
.AppleDouble
.LSOverride

# Icon must end with two \r
Icon


# Thumbnails
._*

# Files that might appear in the root of a volume
.DocumentRevisions-V100
.fseventsd
.Spotlight-V100
.TemporaryItems
.Trashes
.VolumeIcon.icns
.com.apple.timemachine.donotpresent

# Directories potentially created on remote AFP share
.AppleDB
.AppleDesktop
Network Trash Folder
Temporary Items
.apdisk
20 changes: 0 additions & 20 deletions Makefile

This file was deleted.

Loading

0 comments on commit c1d0838

Please sign in to comment.