Skip to content

Commit c1d0838

Browse files
authored
Merge pull request #1 from jjpaulo2/release/v1
Release - v1
2 parents 0c37829 + 7b25c61 commit c1d0838

53 files changed

Lines changed: 4067 additions & 479 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/docs.yaml

Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
name: Documentation
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
8+
concurrency:
9+
group: ${{ github.workflow }}-${{ github.ref }}
10+
cancel-in-progress: true
11+
12+
jobs:
13+
mkdocs:
14+
15+
runs-on: ubuntu-latest
16+
timeout-minutes: 20
17+
18+
environment:
19+
name: github-pages
20+
url: https://jjpaulo2.github.io/fastrpa/
21+
22+
permissions:
23+
pages: write
24+
id-token: write
25+
26+
steps:
27+
- name: Checkout Code
28+
uses: actions/checkout@v4
29+
30+
- name: Setup Python
31+
uses: actions/setup-python@v5
32+
with:
33+
python-version: '3.11'
34+
35+
- name: Install and configure Poetry
36+
uses: snok/install-poetry@v1
37+
38+
- name: Install dependencies
39+
run: poetry install
40+
41+
- name: Build the docs site
42+
run: poetry run mkdocs build
43+
44+
- name: Upload site artifactory
45+
uses: actions/upload-pages-artifact@v3
46+
with:
47+
path: site
48+
49+
- name: Deploy to GitHub Pages
50+
uses: actions/deploy-pages@v4

.github/workflows/publish.yaml

Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
name: Publish
2+
3+
on:
4+
push:
5+
tags:
6+
- '*'
7+
8+
concurrency:
9+
group: ${{ github.workflow }}-${{ github.ref }}
10+
cancel-in-progress: true
11+
12+
jobs:
13+
python:
14+
environment:
15+
name: pypi
16+
url: https://pypi.org/project/fastrpa/
17+
18+
permissions:
19+
id-token: write
20+
21+
runs-on: ubuntu-latest
22+
timeout-minutes: 20
23+
24+
steps:
25+
- name: Checkout Code
26+
uses: actions/checkout@v4
27+
28+
- name: Setup Python
29+
uses: actions/setup-python@v5
30+
with:
31+
python-version: '3.10'
32+
33+
- name: Install and configure Poetry
34+
uses: snok/install-poetry@v1
35+
36+
- name: Install dependencies
37+
run: poetry install --with dev
38+
39+
- name: Build package
40+
run: poetry build
41+
42+
- name: Upload build artifacts
43+
uses: actions/upload-artifact@v4
44+
with:
45+
name: fastrpa-${{ github.ref_name }}
46+
path: dist/*
47+
48+
- name: Publish package to PyPI
49+
uses: pypa/gh-action-pypi-publish@release/v1

.github/workflows/tests.yaml

Lines changed: 71 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,71 @@
1+
name: Tests
2+
3+
on:
4+
pull_request:
5+
push:
6+
branches:
7+
- main
8+
9+
concurrency:
10+
group: ${{ github.workflow }}-${{ github.ref }}
11+
cancel-in-progress: true
12+
13+
jobs:
14+
python:
15+
16+
strategy:
17+
matrix:
18+
python_version: ['3.10', '3.11', '3.12']
19+
20+
runs-on: ubuntu-latest
21+
timeout-minutes: 20
22+
23+
24+
steps:
25+
- name: Checkout Code
26+
uses: actions/checkout@v4
27+
28+
- name: Setup Python
29+
uses: actions/setup-python@v5
30+
with:
31+
python-version: ${{ matrix.python_version }}
32+
33+
- name: Install and configure Poetry
34+
uses: snok/install-poetry@v1
35+
36+
- name: Install dependencies
37+
run: poetry install --with dev
38+
39+
- name: Check code issues
40+
run: poetry run task check
41+
42+
- name: Check security issues
43+
run: poetry run task security
44+
45+
- name: Unit tests
46+
run: poetry run task tests
47+
48+
- name: Build the project
49+
run: poetry build
50+
51+
docs:
52+
runs-on: ubuntu-latest
53+
timeout-minutes: 20
54+
55+
steps:
56+
- name: Checkout Code
57+
uses: actions/checkout@v4
58+
59+
- name: Setup Python
60+
uses: actions/setup-python@v5
61+
with:
62+
python-version: '3.10'
63+
64+
- name: Install and configure Poetry
65+
uses: snok/install-poetry@v1
66+
67+
- name: Install dependencies
68+
run: poetry install --with dev
69+
70+
- name: Build the docs
71+
run: poetry run mkdocs build

.gitignore

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -130,6 +130,9 @@ ENV/
130130
env.bak/
131131
venv.bak/
132132

133+
# Mkdocs build
134+
site/
135+
133136
# Spyder project settings
134137
.spyderproject
135138
.spyproject
@@ -176,3 +179,31 @@ cython_debug/
176179

177180
# Project
178181
*debug*.py
182+
183+
# General
184+
.DS_Store
185+
.AppleDouble
186+
.LSOverride
187+
188+
# Icon must end with two \r
189+
Icon
190+
191+
192+
# Thumbnails
193+
._*
194+
195+
# Files that might appear in the root of a volume
196+
.DocumentRevisions-V100
197+
.fseventsd
198+
.Spotlight-V100
199+
.TemporaryItems
200+
.Trashes
201+
.VolumeIcon.icns
202+
.com.apple.timemachine.donotpresent
203+
204+
# Directories potentially created on remote AFP share
205+
.AppleDB
206+
.AppleDesktop
207+
Network Trash Folder
208+
Temporary Items
209+
.apdisk

Makefile

Lines changed: 0 additions & 20 deletions
This file was deleted.

0 commit comments

Comments
 (0)