docs: fix broken Homebrew install instructions and document missing commands #241
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: E2E Tests | |
| on: | |
| push: | |
| branches: [ main, develop ] | |
| pull_request: | |
| branches: [ main, develop ] | |
| workflow_dispatch: | |
| permissions: | |
| contents: read | |
| checks: write | |
| pull-requests: write | |
| jobs: | |
| e2e-test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Set up Go | |
| uses: actions/setup-go@v4 | |
| with: | |
| go-version: 1.23 | |
| - name: Build CLI | |
| run: | | |
| VERSION="${GITHUB_REF_NAME:-dev}" | |
| COMMIT="${GITHUB_SHA:-none}" | |
| DATE=$(date -u +%Y-%m-%dT%H:%M:%SZ) | |
| go build -o conductor -v -ldflags "-X github.com/conductor-oss/conductor-cli/cmd.Version=${VERSION} -X github.com/conductor-oss/conductor-cli/cmd.Commit=${COMMIT} -X github.com/conductor-oss/conductor-cli/cmd.Date=${DATE}" . | |
| chmod +x conductor | |
| ./conductor --version | |
| - name: Setup bats | |
| uses: bats-core/bats-action@2.0.0 | |
| - name: Run E2E tests (no credentials) | |
| env: | |
| CONDUCTOR_SERVER_URL: ${{ secrets.CONDUCTOR_SERVER_URL }} | |
| run: | | |
| bats test/e2e/auth.bats --show-output-of-passing-tests | |
| - name: Run other E2E tests (with credentials) | |
| env: | |
| CONDUCTOR_SERVER_URL: ${{ secrets.CONDUCTOR_SERVER_URL }} | |
| CONDUCTOR_AUTH_KEY: ${{ secrets.CONDUCTOR_AUTH_KEY }} | |
| CONDUCTOR_AUTH_SECRET: ${{ secrets.CONDUCTOR_AUTH_SECRET }} | |
| CONDUCTOR_SERVER_TYPE: Enterprise | |
| run: | | |
| bats test/e2e/workflow.bats test/e2e/rerun.bats test/e2e/schedule.bats test/e2e/webhook.bats test/e2e/secret.bats test/e2e/task.bats test/e2e/search.bats test/e2e/whoami.bats --show-output-of-passing-tests | |
| - name: Upload test artifacts | |
| if: always() | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: e2e-test-artifacts | |
| path: | | |
| test/e2e/*.log | |
| test/e2e/*.json | |
| if-no-files-found: ignore |