Skip to content

Commit fec5ee4

Browse files
authored
Merge pull request #4 from getyourguide/use-github-hosted-ci-runners
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
2 parents 0c64259 + 8737a76 commit fec5ee4

File tree

4 files changed

+27
-7
lines changed

4 files changed

+27
-7
lines changed

.github/workflows/main.yaml

Lines changed: 19 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ concurrency:
1111

1212
jobs:
1313
test:
14-
runs-on: [ self-hosted, python-small ]
14+
runs-on: ubuntu-latest
1515
strategy:
1616
matrix:
1717
python-version: ["3.10", "3.11", "3.12"]
@@ -20,7 +20,7 @@ jobs:
2020
steps:
2121
- uses: actions/checkout@v4
2222
- name: Install Python and UV
23-
uses: astral-sh/setup-uv@v5
23+
uses: astral-sh/setup-uv@85856786d1ce8acfbcc2f13a5f3fbd6b938f9f41 # v7
2424
with:
2525
python-version: ${{ matrix.python-version }}
2626
- name: Install dependencies
@@ -35,7 +35,7 @@ jobs:
3535
uv run pytest tests/ --cov=dataframe_expectations
3636
3737
lint:
38-
runs-on: [ self-hosted, python-small ]
38+
runs-on: ubuntu-latest
3939
env:
4040
PYTHON_VERSION: "3.11" # Use a single version for linting
4141
steps:
@@ -51,11 +51,15 @@ jobs:
5151
run: |
5252
uv run pre-commit run --all-files --show-diff-on-failure
5353
54-
docs:
55-
runs-on: [ self-hosted, python-small ]
54+
build-docs:
55+
runs-on: ubuntu-latest
5656
env:
5757
PYTHON_VERSION: "3.11" # Use a single version for docs
5858
needs: [test, lint]
59+
permissions:
60+
contents: read
61+
pages: write
62+
id-token: write
5963
steps:
6064
- uses: actions/checkout@v4
6165
- name: Install Python and UV
@@ -68,4 +72,14 @@ jobs:
6872
- name: Build docs
6973
run: |
7074
uv run sphinx-build source build/html
75+
touch build/html/.nojekyll
7176
working-directory: docs
77+
- name: Upload artifact
78+
if: github.ref == 'refs/heads/main'
79+
uses: actions/upload-pages-artifact@v3
80+
with:
81+
path: ./docs/build/html
82+
- name: Deploy to GitHub Pages
83+
if: github.ref == 'refs/heads/main'
84+
id: deployment
85+
uses: actions/deploy-pages@v4

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# Changelog dataframe-expectations
22

3+
## Version 0.1.1
4+
- Migrated CI/CD from self-hosted to GitHub-hosted runners
5+
- Added automated documentation publishing to GitHub Pages
6+
- Pinned UV setup action to specific commit hash for stability
7+
- Improved CI workflow organization with dedicated `build-docs` job
8+
39
## Version 0.1.0
410
- Initial commit contains all the basic functionality for the library
511
- Added documentation

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "dataframe-expectations"
3-
version = "0.1.0"
3+
version = "0.1.1"
44
description = "Python library designed to validate Pandas and PySpark DataFrames using customizable, reusable expectations"
55
readme = "README.md"
66
requires-python = ">=3.10"

uv.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)