treetrail-backend/.forgejo/workflows/test.yaml
phil 25ce207ee3
Some checks failed
/ install (push) Failing after 2s
CI rename action as test;use volume for uv cache
2024-10-23 18:20:24 +02:00

19 lines
464 B
YAML

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