Skip to content

Commit

Permalink
Merging 36770a4 into trunk-temp/pr-227/92bfc92b-6e5f-4b0b-af15-2f8286…
Browse files Browse the repository at this point in the history
…ebb456
  • Loading branch information
trunk-io[bot] authored Dec 13, 2024
2 parents 9405925 + 36770a4 commit adda20f
Showing 1 changed file with 24 additions and 3 deletions.
27 changes: 24 additions & 3 deletions .github/workflows/smoke_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,35 @@ jobs:
name: Build cli from release
runs-on: public-amd64-2xlarge
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Get Release
run: |
curl -fsSLO --retry 3 https://github.com/trunk-io/analytics-cli/releases/download/${{ env.RELEASE }}/trunk-analytics-cli-x86_64-unknown-linux.tar.gz && chmod +x trunk
curl -fsSLO --retry 3 https://github.com/trunk-io/analytics-cli/releases/download/${{ env.RELEASE }}/trunk-analytics-cli-x86_64-unknown-linux.tar.gz
tar -zxf trunk-analytics-cli-x86_64-unknown-linux.tar.gz
chmod +x trunk-analytics-cli
- name: Setup Rust & Cargo
uses: ./.github/actions/setup_rust_cargo

- name: Install Nextest
shell: bash
run: |
cargo install --version 0.9.85 cargo-nextest
- name: Install cmake
shell: bash
run: |
sudo apt-get install cmake -y
- name: Run succeeding test
env:
TRUNK_PUBLIC_API_ADDRESS: https://api.trunk-staging.io
shell: bash
run: |
cd cli-smoke-test
../trunk-analytics-cli test cargo nextest always_succeeds --profile ci
./trunk-analytics-cli test \
--org-url-slug trunk-staging-org \
--junit-paths ${{ github.workspace }}/target/**/*junit.xml \
--token ${{ secrets.TRUNK_STAGING_ORG_API_TOKEN }} \
cargo nextest run -p smoke-test --profile ci

0 comments on commit adda20f

Please sign in to comment.