diff --git a/.github/actions/linter_tests/action.yaml b/.github/actions/linter_tests/action.yaml index 4ab985cee..d68843357 100644 --- a/.github/actions/linter_tests/action.yaml +++ b/.github/actions/linter_tests/action.yaml @@ -45,6 +45,13 @@ runs: - name: Install packages and specify defaults run: | echo "CLI_PATH=${{ inputs.cli-path }}" >> "$GITHUB_ENV" + if [[ "${{ inputs.linter-version }}" == "Latest" ]]; then + echo "JEST_LINTER_VERSION=Latest" >> "$GITHUB_ENV" + else + # If the linter version is KnownGoodVersions, coalesce to Snapshots + # For flaky analysis. + echo "JEST_LINTER_VERSION=Snapshots" >> "$GITHUB_ENV" + fi case "$RUNNER_OS" in Linux) @@ -119,7 +126,7 @@ runs: DEBUG: Driver:nixpkgs-fmt:*, Driver:eslint:* JEST_SUITE_NAME: Linter Tests JEST_JUNIT_SUITE_NAME: - "{title} ${{ runner.os }} ${{ inputs.ref-type }} ${{ inputs.linter-version }}" + "{title} ${{ runner.os }} ${{ inputs.ref-type }} ${{ env.JEST_LINTER_VERSION }}" - name: Upload results # TODO(Tyler): Add upload on MacOS/Windows once the action supports it. diff --git a/.github/workflows/repo_tests.reusable.yaml b/.github/workflows/repo_tests.reusable.yaml index 379bf28a5..c188d5372 100644 --- a/.github/workflows/repo_tests.reusable.yaml +++ b/.github/workflows/repo_tests.reusable.yaml @@ -41,14 +41,3 @@ jobs: JEST_SUITE_NAME: Repo Tests PLUGINS_TEST_CLI_VERSION: ${{ inputs.cli-version }} PLUGINS_TEST_CLI_PATH: ${{ inputs.cli-path }} - - - name: Upload results - if: "!cancelled()" - uses: trunk-io/analytics-uploader@main - with: - junit-paths: junit.xml - org-slug: trunk-staging-org - token: ${{ secrets.TRUNK_DEBUGGER_TOKEN }} - continue-on-error: true - env: - TRUNK_PUBLIC_API_ADDRESS: https://api.trunk-staging.io