add postgresql container to run tests in
test-backend / test-x86_64 (push) Failing after 3s

This commit is contained in:
2025-05-25 19:43:00 +03:00
parent 393b426e85
commit a13015854d
5 changed files with 70 additions and 22 deletions
+25
View File
@@ -0,0 +1,25 @@
name: test-backend
on:
push:
jobs:
test-x86_64:
runs-on: alpine
shell: sh
steps:
- name: Install tools for testing
run: |
apk --update add docker docker-compose postgres
- name: Pull postgres docker image
run: docker pull postgres
- name: Pull custom docker image
run: docker pull 10.5.1.5:5000/sdlc/x86_64
- name: Pull repository
run: |
git init
git remote add gitea http://10.1.1.1:3000/hasslesstech/sdlc-project
git fetch gitea
git checkout gitea/master
- name: Deploy testing environment
run: docker-compose up -d -f backend/docker-compose-x86_64.yaml