Skip to content

Commit

Permalink
Merge branch 'main' into labeller
Browse files Browse the repository at this point in the history
  • Loading branch information
peteski22 authored Nov 14, 2024
2 parents 7d5a20a + d9df710 commit 6b2c792
Show file tree
Hide file tree
Showing 72 changed files with 8,332 additions and 1,313 deletions.
60 changes: 0 additions & 60 deletions .devcontainer/README.md

This file was deleted.

4 changes: 2 additions & 2 deletions .github/workflows/build_images_uv.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Docker Image CI
name: Docker image CI

on:
pull_request:
Expand Down Expand Up @@ -30,7 +30,7 @@ jobs:
- name: Set up QEMU
uses: docker/setup-qemu-action@v3

- name: Set up Docker Buildx
- name: Set up Docker buildx
uses: docker/setup-buildx-action@v3

- name: Login to DockerHub
Expand Down
16 changes: 8 additions & 8 deletions .github/workflows/docs.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Build and Publish Docs
name: Build and publish docs

on:
# required to enable manual triggers on the GH web ui
Expand All @@ -18,43 +18,43 @@ permissions:

jobs:
build-docs:
name: Build Docs
name: Build and publish docs
runs-on: ubuntu-latest

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

- name: Set up Python 3.11
uses: actions/setup-python@v5
with:
python-version: "3.11"

- name: Set up Environment
- name: Set up environment
id: setup
run: |
curl -LsSf https://astral.sh/uv/install.sh | sh
uv venv
echo "VIRTUAL_ENV=$HOME/.venv" >> $GITHUB_ENV
continue-on-error: false

- name: Install Docs Dependencies
- name: Install docs dependencies
id: install_build_dependencies
run: |
. .venv/bin/activate
uv pip install -r pyproject.toml --extra docs
continue-on-error: false

- name: Build Documentation
- name: Build documentation
run: |
. .venv/bin/activate
cd docs
sphinx-build source build/html
- name: Set up Pages
- name: Set up pages
uses: actions/configure-pages@v4

- name: Upload Artifact
- name: Upload artifact
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }}
uses: actions/upload-pages-artifact@v3
with:
Expand Down
24 changes: 24 additions & 0 deletions .github/workflows/links_checker.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Build and publish docs

on:
push:
branches:
- '*'
pull_request:
branches:
- "**"
workflow_dispatch:

jobs:
link-checker:
name: Docs - Link checker
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- name: Link Checker
id: lychee
uses: lycheeverse/lychee-action@v2
with:
# Documentation: https://github.com/lycheeverse/lychee?tab=readme-ov-file#commandline-parameters
args: --base . --verbose --no-progress './**/*.md' './**/*.rst' --exclude 'mailto:|localhost'
2 changes: 1 addition & 1 deletion .github/workflows/notebook_integration_tests.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: SDK integration tests
name: Notebook integration tests

on:
push:
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/sdk_integration_tests.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: SDK integration tests
name: SDK tests

on:
push:
Expand All @@ -10,8 +10,8 @@ on:
workflow_dispatch:

jobs:
integration:
name: SDK integration tests
sdk-integration-tests:
name: SDK integration tests - Python
runs-on: ubuntu-latest
steps:
- name: Checkout
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/tests_uv.yaml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
name: Tests
name: Lumigator backend tests

on:
push:

jobs:
uv-example:
name: python
backend-integration-tests:
name: Backend integration tests - Python
runs-on: ubuntu-latest

steps:
Expand All @@ -14,7 +14,7 @@ jobs:
- name: Install uv
uses: astral-sh/setup-uv@v3

- name: Install python
- name: Install Python
run: uv python install
working-directory: lumigator/python/mzai/backend

Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/tests_uv_sdk.yaml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
name: SDK Tests
name: SDK tests

on:
push:

jobs:
uv-example:
name: python
sdk-unit-tests:
name: SDK unit tests - Python
runs-on: ubuntu-latest

steps:
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -174,3 +174,4 @@ cython_debug/
.ijwb
*.db
*.db-journal
.DS_Store
Loading

0 comments on commit 6b2c792

Please sign in to comment.