Skip to content

[DONT MERGE] testing ssh into host #86

[DONT MERGE] testing ssh into host

[DONT MERGE] testing ssh into host #86

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@v23.1.0
build:
name: Build snap
uses: canonical/data-platform-workflows/.github/workflows/build_snap.yaml@lucas/fix-collect-bases
smoke:
name: Smoke test snap
runs-on: ubuntu-22.04
timeout-minutes: 500
needs:
- lint
- build
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install tox & poetry
run: |
pipx install tox
pipx install poetry
- 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
- name: Setup tmate session
uses: mxschmitt/action-tmate@v3