diff --git a/.github/workflows/check.yaml b/.github/workflows/check.yaml index 2fd5baf..e018c57 100644 --- a/.github/workflows/check.yaml +++ b/.github/workflows/check.yaml @@ -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