From f4f45436b479d8c6eebcf7a503d3c1e3a73c68b1 Mon Sep 17 00:00:00 2001 From: Eugene Triguba Date: Wed, 8 Oct 2025 21:46:23 -0400 Subject: Add test pipeline with sourcehut --- .build.yml | 40 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 .build.yml (limited to '.build.yml') diff --git a/.build.yml b/.build.yml new file mode 100644 index 0000000..0a0930e --- /dev/null +++ b/.build.yml @@ -0,0 +1,40 @@ +image: ubuntu/jammy +packages: + - go + - docker.io + - docker-compose +sources: + - https://git.sr.ht/~eugenetriguba/bolt +secrets: + - fa00a8d3-c47d-4820-9770-f819d307fcb0 # codecov-token +environment: + GO111MODULE: on +tasks: + - setup: | + cd bolt + chmod +x scripts/*.sh + go version + + - test-sqlite3: | + cd bolt + ./scripts/test-sqlite3.sh + + - test-postgresql: | + cd bolt + ./scripts/test-postgresql.sh + + - test-mysql: | + cd bolt + ./scripts/test-mysql.sh + + - test-mssql: | + cd bolt + ./scripts/test-mssql.sh + + - combine-coverage: | + cd bolt + ./scripts/combine-coverage.sh + + - upload-coverage: | + cd bolt + ./scripts/upload-coverage.sh -- cgit v1.2.3