Skip to content

Commit

Permalink
fix(ci): update example tests to use "docker compose" instead of "doc…
Browse files Browse the repository at this point in the history
…ker-compose" (#3954)
  • Loading branch information
danielbdias authored Aug 8, 2024
1 parent d3be6ca commit f6a29e6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 36 deletions.
38 changes: 2 additions & 36 deletions .github/workflows/pull-request.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,40 +21,6 @@ env:
CYPRESS_RECORD_KEY: ${{ secrets.CYPRESS_RECORD_KEY }}

jobs:
# backend-arch-graph:
# name: Generate backend architecture graph
# runs-on: ubuntu-latest
# continue-on-error: true
# steps:
# - uses: actions/checkout@v3
# with:
# fetch-depth: 0
# - name: Setup go
# uses: actions/setup-go@v3
# with:
# go-version-file: "go.mod"
# cache: true
# cache-dependency-path: go.mod
# - name: install graph tool
# run: |
# mkdir /tmp/go-arch
# cd /tmp/go-arch
# curl -SLO https://github.com/mathnogueira/golang-arch-viewer/archive/refs/heads/master.zip
# unzip master.zip
# cd golang-arch-viewer-master
# make
# mv dist/go-arch /tmp/go-arch/go-arch
# - name: generate graph
# run: |
# cd server
# mkdir -p ../dist/
# /tmp/go-arch/go-arch -o ../dist/architecture.png
# - name: Upload assets
# uses: actions/upload-artifact@v3
# with:
# name: architecture-graph
# path: dist/architecture.png

unit-test-cli:
name: CLI unit tests
runs-on: ubuntu-latest
Expand Down Expand Up @@ -219,7 +185,7 @@ jobs:
- name: Build example
run: |
cd examples/${{ matrix.example_dir }}
docker-compose up -d
docker compose up -d
docker compose logs -f > /tmp/docker-log &
- name: Run example test
run: |
Expand Down Expand Up @@ -254,7 +220,7 @@ jobs:
- name: Start server
run: |
cd examples/collector
docker-compose up -d
docker compose up -d
docker compose logs -f > /tmp/docker-log &
- name: Run tests
run: |
Expand Down
2 changes: 2 additions & 0 deletions examples/quick-start-java/quick_start_api/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,5 @@

# Ignore Gradle build output directory
build

app/bin

0 comments on commit f6a29e6

Please sign in to comment.