Skip to content

Commit

Permalink
Adopt juju 3.1 (#23)
Browse files Browse the repository at this point in the history
* update templates

* update to Juju 3.1

* drop sonar, create new PR#24
  • Loading branch information
rgildein authored Aug 30, 2023
1 parent d816ad0 commit 23cd8fa
Show file tree
Hide file tree
Showing 4 changed files with 25 additions and 63 deletions.
32 changes: 0 additions & 32 deletions .github/workflows/func.yaml

This file was deleted.

29 changes: 0 additions & 29 deletions .github/workflows/lint-unit.yaml

This file was deleted.

24 changes: 24 additions & 0 deletions .github/workflows/pr.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# This is a template `pr.yaml` file for ops charms
# This file is managed by bootstack-charms-spec and should not be modified
# within individual charm repos. https://launchpad.net/bootstack-charms-spec

name: PR workflow running lint checkers, unit and functional tests

on:
pull_request:
types: [ opened, synchronize, reopened ]
branches: [ master, main ]
paths-ignore:
- '**.md'
- '**.rst'

jobs:
pr:
uses: canonical/bootstack-actions/.github/workflows/pull-request.yaml@main
secrets: inherit
with:
python-version-unit: "['3.8', '3.10']"
python-version-func: "3.10"
tox-version: "<4"
juju-channel: "3.1/stable"
commands: "['FUNC_ARGS=\"--series bionic\" make functional', 'FUNC_ARGS=\"--series focal\" make functional', 'FUNC_ARGS=\"--series jammy\" make functional']"
3 changes: 1 addition & 2 deletions tests/functional/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
# to run func tests on controllers < 3.0
juju < 3.1
juju >= 3.1

0 comments on commit 23cd8fa

Please sign in to comment.