chore: 🐝 Update SDK - Generate 0.11.16 #363
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: Test | |
| on: | |
| pull_request: | |
| branches: | |
| - main | |
| workflow_dispatch: | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| # NOTE: when ran from a fork, the secrets will not be available -- just skip the | |
| # job instead of failing | |
| if: github.event.pull_request.head.repo.full_name == github.repository || github.event_name == 'workflow_dispatch' | |
| env: | |
| SPEAKEASY_API_KEY: ${{ secrets.SPEAKEASY_API_KEY }} | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Set up mise | |
| uses: jdx/mise-action@v2 | |
| with: | |
| cache: true | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| # run the glean target specified in .speakeasy/workflow.yaml | |
| - run: speakeasy test --target glean | |
| - name: Publish Test Results | |
| uses: dorny/test-reporter@v1 | |
| if: ${{ !cancelled() }} # run even if prior step failed | |
| with: | |
| name: Speakeasy Tests | |
| path: './.speakeasy/reports/tests.xml' | |
| reporter: java-junit |