From 9b453c7a90e6ac3956c91c9d89b065cb187a53f6 Mon Sep 17 00:00:00 2001 From: Vincent Cloutier Date: Sun, 11 Dec 2022 10:59:59 -0500 Subject: [PATCH] fix tests --- .builds/arch.yaml | 9 --------- .builds/arch.yml | 12 ++++++++++++ 2 files changed, 12 insertions(+), 9 deletions(-) delete mode 100644 .builds/arch.yaml create mode 100644 .builds/arch.yml diff --git a/.builds/arch.yaml b/.builds/arch.yaml deleted file mode 100644 index 17c9d4c..0000000 --- a/.builds/arch.yaml +++ /dev/null @@ -1,9 +0,0 @@ -image: archlinux -packages: - - dotnet-sdk-6.0 -sources: - - https://git.sr.ht/~cloutier/bird.makeup -tasks: - - test: | - cd bird.makeup/src - dotnet test diff --git a/.builds/arch.yml b/.builds/arch.yml new file mode 100644 index 0000000..c0930a0 --- /dev/null +++ b/.builds/arch.yml @@ -0,0 +1,12 @@ +image: archlinux +packages: + - dotnet-sdk-6.0 + - docker +sources: + - https://git.sr.ht/~cloutier/bird.makeup +tasks: + - test: | + sudo systemctl start docker + sudo docker run -d -p 5432:5432 -e POSTGRES_PASSWORD=birdsitelive -e POSTGRES_USER=birdsitelive -e POSTGRES_DB=birdsitelive postgres:9 + cd bird.makeup/src + dotnet test