Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 19 additions & 5 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ concurrency:

jobs:
test:
runs-on: [ self-hosted, python-small ]
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.10", "3.11", "3.12"]
Expand All @@ -20,7 +20,7 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: Install Python and UV
uses: astral-sh/setup-uv@v5
uses: astral-sh/setup-uv@85856786d1ce8acfbcc2f13a5f3fbd6b938f9f41 # v7
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
Expand All @@ -35,7 +35,7 @@ jobs:
uv run pytest tests/ --cov=dataframe_expectations

lint:
runs-on: [ self-hosted, python-small ]
runs-on: ubuntu-latest
env:
PYTHON_VERSION: "3.11" # Use a single version for linting
steps:
Expand All @@ -51,11 +51,15 @@ jobs:
run: |
uv run pre-commit run --all-files --show-diff-on-failure

docs:
runs-on: [ self-hosted, python-small ]
build-docs:
runs-on: ubuntu-latest
env:
PYTHON_VERSION: "3.11" # Use a single version for docs
needs: [test, lint]
permissions:
contents: read
pages: write
id-token: write
steps:
- uses: actions/checkout@v4
- name: Install Python and UV
Expand All @@ -68,4 +72,14 @@ jobs:
- name: Build docs
run: |
uv run sphinx-build source build/html
touch build/html/.nojekyll
working-directory: docs
- name: Upload artifact
if: github.ref == 'refs/heads/main'
uses: actions/upload-pages-artifact@v3
with:
path: ./docs/build/html
- name: Deploy to GitHub Pages
if: github.ref == 'refs/heads/main'
id: deployment
uses: actions/deploy-pages@v4
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# Changelog dataframe-expectations

## Version 0.1.1
- Migrated CI/CD from self-hosted to GitHub-hosted runners
- Added automated documentation publishing to GitHub Pages
- Pinned UV setup action to specific commit hash for stability
- Improved CI workflow organization with dedicated `build-docs` job

## Version 0.1.0
- Initial commit contains all the basic functionality for the library
- Added documentation
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "dataframe-expectations"
version = "0.1.0"
version = "0.1.1"
description = "Python library designed to validate Pandas and PySpark DataFrames using customizable, reusable expectations"
readme = "README.md"
requires-python = ">=3.10"
Expand Down
2 changes: 1 addition & 1 deletion uv.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.