fix: add buildx action
This commit is contained in:
parent
4749995198
commit
78462912cc
2 changed files with 7 additions and 9 deletions
12
.github/workflows/docker_compose.yml
vendored
12
.github/workflows/docker_compose.yml
vendored
|
|
@ -21,24 +21,18 @@ jobs:
|
|||
|
||||
- name: Build Docker images
|
||||
run: |
|
||||
docker-compose -f docker-compose.yml build
|
||||
docker compose -f docker-compose.yml build
|
||||
|
||||
- name: Run Docker Compose
|
||||
run: |
|
||||
docker-compose -f docker-compose.yml up -d
|
||||
docker compose -f docker-compose.yml up -d
|
||||
|
||||
- name: Wait for services to be ready
|
||||
run: |
|
||||
# Add any necessary health checks or wait commands
|
||||
sleep 30
|
||||
|
||||
# - name: Run tests
|
||||
# run: |
|
||||
# docker-compose -f docker-compose.yml run --rm <test-service> <test-command>
|
||||
# # Replace <test-service> with the name of the service running the tests
|
||||
# # Replace <test-command> with the actual command to run your tests
|
||||
|
||||
- name: Shut down Docker Compose
|
||||
if: always()
|
||||
run: |
|
||||
docker-compose -f docker-compose.yml down
|
||||
docker compose -f docker-compose.yml down
|
||||
|
|
|
|||
4
.github/workflows/test_neo4j.yml
vendored
4
.github/workflows/test_neo4j.yml
vendored
|
|
@ -18,6 +18,10 @@ jobs:
|
|||
name: docs changes
|
||||
uses: ./.github/workflows/get_docs_changes.yml
|
||||
|
||||
setup_docker:
|
||||
name: Set up Docker Buildx
|
||||
uses: docker/setup-buildx-action@v1
|
||||
|
||||
run_neo4j_integration_test:
|
||||
name: test
|
||||
needs: get_docs_changes
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue