Skip to content

Commit

Permalink
Merge pull request #3 from tonyandrewmeyer/regular-smoke-tests
Browse files Browse the repository at this point in the history
DON'T MERGE: testing on my repo
  • Loading branch information
tonyandrewmeyer authored Aug 26, 2024
2 parents 3677507 + 56ab04f commit c031eda
Showing 1 changed file with 36 additions and 0 deletions.
36 changes: 36 additions & 0 deletions .github/workflows/smoke.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
name: ops Smoke Tests

on:
workflow_dispatch:
schedule:
- cron: '0 7 25 * *'

jobs:
test:
runs-on: ubuntu-latest

strategy:
matrix:
juju-version: ['2.9', '3', '4.0']
charmcraft-version: ['2.x', '3.x']

steps:
- name: Set up Juju
run: sudo snap install juju --channel=${{ matrix.juju-version }}

- name: Set up LXD
uses: canonical/setup-lxd@ce8decb3609c0a03c5abd5034d02a6c145e2076f
with:
channel: 5.0/stable

- name: Bootstrap Juju controller
run: juju bootstrap localhost

- name: Install charmcraft
run: sudo snap install charmcraft --channel=${{ matrix.charmcraft-version }}

- name: Install tox
run: pip install tox~=4.2

- name: Run smoke tests
run: tox -e smoke

0 comments on commit c031eda

Please sign in to comment.