Skip to content

Commit efb509d

Browse files
committed
feat: backend ci
1 parent 2d1b273 commit efb509d

1 file changed

Lines changed: 23 additions & 0 deletions

File tree

.github/workflows/backend.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: Backend CI
2+
3+
on:
4+
push:
5+
branches:
6+
- "**"
7+
8+
jobs:
9+
tests:
10+
runs-on: ubuntu-latest
11+
12+
steps:
13+
- name: Checkout repository
14+
uses: actions/checkout@v4
15+
16+
- name: Build and run tests
17+
run: |
18+
cd server/workers/persistence
19+
docker-compose -f docker/docker-compose-tests.yml up --build --exit-code-from test-runner
20+
21+
- name: Clean up
22+
if: always()
23+
run: docker-compose -f docker/docker-compose-tests.yml down

0 commit comments

Comments
 (0)