Skip to content

Commit

Permalink
revert back usage of bootstack-actions and run only Juju 3.4
Browse files Browse the repository at this point in the history
  • Loading branch information
rgildein committed Apr 16, 2024
1 parent 53640c0 commit ac4e522
Showing 1 changed file with 10 additions and 25 deletions.
35 changes: 10 additions & 25 deletions .github/workflows/check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,36 +22,21 @@ jobs:
python-version: ["3.8", "3.10"]
with:
python-version: ${{ matrix.python-version }}
tox-version: "<4"
working-directory: ./src

func:
name: Functional tests
runs-on: ubuntu-latest
timeout-minutes: 120
uses: canonical/bootstack-actions/.github/workflows/func.yaml@v2
needs: lint-unit
strategy:
fail-fast: false
matrix:
include:
- juju-channel: '3.4/stable'
command: 'TEST_JUJU3=1 make functional' # using TEST_JUJU3 due https://github.com/openstack-charmers/zaza/commit/af7eea953dd5d74d3d074fe67b5765dca3911ca6
- juju-channel: '2.9/stable'
command: 'make functional'
steps:
- uses: actions/checkout@v4
- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: "3.10"
- name: Setup Juju ${{ matrix.juju-channel }} LXD environment
uses: charmed-kubernetes/actions-operator@main
with:
provider: lxd
juju-channel: ${{ matrix.juju-channel }}
- name: Show juju information
run: |
juju version
juju controllers | grep Version -A 1 | awk '{print $9}'
- name: Run functional test
run: ${{ matrix.command }}
- juju-channel: "3.4/stable"
command: "TEST_JUJU3=1 make functional" # using TEST_JUJU3 due https://github.com/openstack-charmers/zaza/commit/af7eea953dd5d74d3d074fe67b5765dca3911ca6
with:
command: ${{ matrix.command }}
juju-channel: ${{ matrix.juju-channel }}
nested-containers: false
provider: "lxd"
python-version: "3.10"
timeout-minutes: 120

0 comments on commit ac4e522

Please sign in to comment.