CI: build container
This commit is contained in:
parent
25ce207ee3
commit
68a1fecf26
2 changed files with 35 additions and 19 deletions
|
@ -1,19 +0,0 @@
|
|||
on: [push]
|
||||
jobs:
|
||||
install:
|
||||
runs-on: container
|
||||
container:
|
||||
image: tiptop:5000/treetrail-backend-ci-base
|
||||
volumes:
|
||||
- "/root/.cache/uv:uv_cache"
|
||||
services:
|
||||
treetrail-database:
|
||||
image: treetrail-database
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- name: Create venv
|
||||
run: uv venv
|
||||
- name: Install dependencies
|
||||
run: uv sync
|
||||
- name: Run basic test (bootstrap)
|
||||
run: .venv/bin/pytest -s tests/basic.py
|
Loading…
Add table
Add a link
Reference in a new issue