Skip to content

Commit 1a9b562

Browse files
committed
✨(ci) enhance GitHub Actions workflow
Added a step to create a Docker network in both the linting and testing jobs of the CI workflow. This ensures the necessary network setup is in place before running subsequent steps.
1 parent cfcca41 commit 1a9b562

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

.github/workflows/tests.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,29 +6,31 @@ on:
66
- main
77
pull_request:
88
branches:
9-
- '*'
9+
- "*"
1010

1111
env:
1212
COMPOSE_BAKE: true
1313

1414
jobs:
15-
1615
lint-back:
1716
runs-on: ubuntu-latest
1817
steps:
1918
- name: Checkout repository
2019
uses: actions/checkout@v4
20+
- name: Run network setup
21+
run: make create-docker-network
2122
- name: Create env files
2223
run: make create-env-files
2324
- name: Run linting checks
2425
run: make back-lint
2526

26-
2727
test-back:
2828
runs-on: ubuntu-latest
2929
steps:
3030
- name: Checkout repository
3131
uses: actions/checkout@v4
32+
- name: Run network setup
33+
run: make create-docker-network
3234
- name: Create env files
3335
run: make create-env-files
3436
- name: Setup data directories

0 commit comments

Comments
 (0)