Skip to content

[MISC] Assert snap version against content version in tests #30

[MISC] Assert snap version against content version in tests

[MISC] Assert snap version against content version in tests #30

Workflow file for this run

# 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/lint.yaml@v12.6.0
smoke:
name: Smoke test snap
runs-on: ubuntu-latest
timeout-minutes: 5
needs:
- lint
- build

Check failure on line 23 in .github/workflows/ci.yaml

View workflow run for this annotation

GitHub Actions / Tests

Invalid workflow file

The workflow is not valid. .github/workflows/ci.yaml (Line: 23, Col: 9): Job 'smoke' depends on unknown job 'build'.
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install tox
run: pipx install tox
- name: Download snap package(s)
uses: actions/download-artifact@v4
with:
pattern: ${{ needs.build.outputs.artifact-prefix }}-*
merge-multiple: true
- name: Run tests
run: tox run -e smoke