Skip to content

Commit

Permalink
ci: Pass LIBJUJU_VERSION_SPECIFIER to the mysql-k8s-operator unit tes…
Browse files Browse the repository at this point in the history
…ts (#1036)

* Pass LIBJUJU_VERSION_SPECIFIER through to tox, which the mysql-k8s-operator unit tests now require.

Will revert this later once the mysql-k8s-operator test issue is fixed.
---------

Co-authored-by: Ben Hoyt <[email protected]>
  • Loading branch information
tonyandrewmeyer and benhoyt authored Oct 10, 2023
1 parent 798c259 commit 529488d
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/db-charm-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,3 +43,8 @@ jobs:

- name: Run the charm's unit tests
run: tox -vve unit
# TODO: remove this once https://github.com/canonical/mysql-k8s-operator/pull/316 is fixed
env:
# This env var is only to indicate Juju version to "simulate" in the mysqk-k8s-operator
# unit tests. No libjuju is being actually used in unit testing.
LIBJUJU_VERSION_SPECIFIER: 3.1

0 comments on commit 529488d

Please sign in to comment.