ci: run server in ci

This commit is contained in:
Gergő Jedlicska
2025-01-20 21:24:38 +01:00
parent 3859a88c4b
commit 37c8e6dfb1
2 changed files with 11 additions and 14 deletions
+10 -7
View File
@@ -1,11 +1,11 @@
name: 'Specklepy test and build'
name: "Specklepy test and build"
on:
# pull_request:
# branches:
# - 'v3-dev'
push:
branches:
- 'gergo/uvSetup'
- "gergo/uvSetup"
jobs:
ci:
name: continuous-integration
@@ -13,10 +13,10 @@ jobs:
strategy:
matrix:
python-version:
- '3.10'
- '3.11'
- '3.12'
- '3.13'
- "3.10"
- "3.11"
- "3.12"
- "3.13"
steps:
- uses: actions/checkout@v4
@@ -26,7 +26,7 @@ jobs:
with:
python-version: ${{ matrix.python-version }}
enable-cache: true
cache-dependency-glob: 'uv.lock'
cache-dependency-glob: "uv.lock"
- name: Install the project
run: uv sync --all-extras --dev
@@ -39,6 +39,9 @@ jobs:
- name: Run pre-commit
run: uv run pre-commit run --all-files
- name: Run Speckle Server
run: docker compose up -d
# do some more stuff here
- name: Minimize uv cache
run: uv cache prune --ci