Update canonical/data-platform-workflows action to v34 #71
Workflow file for this run
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
| # Copyright 2024 Canonical Ltd. | |
| # See LICENSE file for licensing details. | |
| name: Tests | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: true | |
| on: | |
| pull_request: | |
| jobs: | |
| lint: | |
| name: Lint | |
| uses: canonical/data-platform-workflows/.github/workflows/[email protected] | |
| build: | |
| name: Build rock | |
| uses: canonical/data-platform-workflows/.github/workflows/[email protected] | |
| smoke: | |
| name: Smoke test rock | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 5 | |
| needs: | |
| - lint | |
| - build | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v5 | |
| - name: Install tox & poetry | |
| run: | | |
| pipx install tox | |
| pipx install poetry | |
| - name: Download rock(s) | |
| uses: actions/download-artifact@v5 | |
| with: | |
| pattern: ${{ needs.build.outputs.artifact-prefix }}-* | |
| merge-multiple: true | |
| - name: Run tests | |
| run: tox run -e smoke |