Skip to content

Commit

Permalink
Merge pull request #1300 from openziti/quickstart-no-always
Browse files Browse the repository at this point in the history
run quickstart automated test immediately
  • Loading branch information
dovholuknf authored Sep 8, 2023
2 parents 55724ff + 1d6e845 commit e984a67
Showing 1 changed file with 5 additions and 25 deletions.
30 changes: 5 additions & 25 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,11 @@ jobs:
CC=arm-linux-gnueabihf-gcc $(go env GOPATH)/bin/gox -cgo -os=linux -arch=arm -output=$GOX_OUTPUT ./...
CC=aarch64-linux-gnu-gcc $(go env GOPATH)/bin/gox -cgo -os=linux -arch=arm64 -output=$GOX_OUTPUT ./...
- name: Run Go Quickstart Test
timeout-minutes: 5
run: |
go test -v -tags "quickstart automated" ./ziti/cmd/edge/...;
- name: Upload artifacts
uses: actions/upload-artifact@v3
with:
Expand All @@ -137,7 +142,6 @@ jobs:
name: Fablab Smoketest
# not applicable to forks. shouldn't run on release build
if: github.repository_owner == 'openziti' && github.ref != 'refs/heads/main'
needs: [ quickstart ]
runs-on: ubuntu-20.04
steps:
- name: Git Checkout
Expand Down Expand Up @@ -233,30 +237,6 @@ jobs:
echo "WARN: No instance archive found for simple-transfer-${GITHUB_RUN_NUMBER}.tar.gz.gpg" >&2
fi
quickstart:
name: Run the Go Quickstart
# - always() allows evaluating further conditional expressions even if
# needed jobs were skipped
if: |
always()
runs-on: ubuntu-20.04
needs: [ linux-build ]
steps:
- name: Git Shallow Checkout
uses: actions/checkout@v3

- name: Download linux release artifact
uses: actions/download-artifact@v3
with:
name: linux-release-${{ github.run_id }}
path: release/

- name: Run Go Quickstart Test
timeout-minutes: 5
run: |
go clean -testcache;
go test -v -tags "quickstart automated" ./ziti/cmd/edge/...;
publish:
name: Publish Binaries
# - always() allows evaluating further conditional expressions even if
Expand Down

0 comments on commit e984a67

Please sign in to comment.