Skip to content

chore(deps): update canonical/charming-actions action to v2.6.2 #63

chore(deps): update canonical/charming-actions action to v2.6.2

chore(deps): update canonical/charming-actions action to v2.6.2 #63

Workflow file for this run

# Copyright 2023 Canonical Ltd.
# See LICENSE file for licensing details.
name: nfs-client tests
on:
workflow_call:
pull_request:
jobs:
inclusive-naming-check:
name: Inclusive naming check
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Run tests
uses: get-woke/woke-action@v0
with:
fail-on-error: true
lint:
name: Lint
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install dependencies
run: python3 -m pip install tox
- name: Run linters
run: tox -e lint
unit-test:
name: Unit tests
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install dependencies
run: python3 -m pip install tox
- name: Run tests
run: tox -e unit
integration-test:
strategy:
fail-fast: true
matrix:
bases:
- ubuntu@20.04
- ubuntu@22.04
ipv6:
- true
- false
name: Integration tests (LXD) | ${{ matrix.bases }} ${{ matrix.ipv6 && '(IPv6)' || '(IPv4)' }}
runs-on: ubuntu-latest
needs:
- inclusive-naming-check
- lint
- unit-test
timeout-minutes: 120
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up operator environment
uses: charmed-kubernetes/actions-operator@main
with:
provider: lxd
juju-channel: 3.1/stable
- name: Run integration tests
run: tox run -e integration -- --charm-base=${{ matrix.bases }} ${{ matrix.ipv6 && '--ipv6' || '' }}