migrate tests on ubicloud

This commit is contained in:
Ruben Fiszel
2023-11-28 15:27:12 +01:00
parent c990f856aa
commit 55e49fbd4b
2 changed files with 4 additions and 16 deletions

View File

@@ -15,7 +15,7 @@ on:
jobs:
cargo_test:
runs-on: [self-hosted, new]
runs-on: ubicloud
container:
image: ghcr.io/windmill-labs/backend-tests
services:
@@ -41,5 +41,6 @@ jobs:
run:
mkdir frontend/build && cd backend && touch
windmill-api/openapi-deref.yaml &&
DATABASE_URL=postgres://postgres:changeme@postgres:5432/windmill DISABLE_EMBEDDING=true cargo
test --features enterprise --all -- --nocapture
DATABASE_URL=postgres://postgres:changeme@postgres:5432/windmill
DISABLE_EMBEDDING=true cargo test --features enterprise --all --
--nocapture

View File

@@ -1,13 +0,0 @@
name: Clean docker
on:
schedule:
# * is a special character in YAML so you have to quote this string
- cron: "0 0 */2 * *"
jobs:
build:
runs-on: [self-hosted, new]
steps:
- name: clean docker
run: |
sudo docker system prune -f