Skip to content

Commit

Permalink
ci: use starflow CI actions
Browse files Browse the repository at this point in the history
  • Loading branch information
lengau committed Oct 22, 2024
1 parent 9027b2c commit 2a0ef10
Show file tree
Hide file tree
Showing 8 changed files with 1,982 additions and 368 deletions.
37 changes: 0 additions & 37 deletions .github/workflows/docs.yaml

This file was deleted.

61 changes: 61 additions & 0 deletions .github/workflows/qa.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
name: QA
on:
push:
branches:
- "main"
- "feature/*"
- "hotfix/*"
- "release/*"
- "renovate/*"
pull_request:

jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: lengau/starflow/lint@work/CRAFT-3602/test-action
unit-tests:
strategy:
matrix:
platform:
# We're just using ubuntu-latest since craft-platforms is pure Python.
- ubuntu-latest # amd64?
- [noble, arm64] # Self-hosted Ubuntu Noble runner to test arm64
- windows-latest
- macos-15 # arm64
- macos-13 # amd64
runs-on: ${{ matrix.platform }}
env:
UV_PYTHON: ${{ matrix.python }}
steps:
- uses: actions/checkout@v4
- uses: lengau/starflow/test-python@work/CRAFT-3602/test-action
with:
python-versions: 3.10 3.11 3.12 3.13
integration-tests:
strategy:
matrix:
platform:
- ubuntu-latest
- windows-latest
- macos-15 # arm64
- macos-13 # amd64
runs-on: ${{ matrix.platform }}
env:
UV_PYTHON: ${{ matrix.python }}
steps:
- uses: actions/checkout@v4
- uses: lengau/starflow/test-python@work/CRAFT-3602/test-action
with:
python-versions: 3.10 3.12
target: test-integration
lowest-tests: # Run unit and integration tests on the oldest Python available with UV
runs-on: ubuntu-latest
env:
UV_RESOLUTION: lowest
steps:
- uses: actions/checkout@v4
- uses: lengau/starflow/test-python@work/CRAFT-3602/test-action
with:
python-versions: "3.10"
128 changes: 0 additions & 128 deletions .github/workflows/tests.yaml

This file was deleted.

2 changes: 1 addition & 1 deletion .readthedocs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ sphinx:
configuration: docs/conf.py

# Optionally build your docs in additional formats such as PDF
#formats:
# formats:
# - pdf
# - epub

Expand Down
Loading

0 comments on commit 2a0ef10

Please sign in to comment.