Skip to content

Upgrade ops library to 2.1.0 #71

Upgrade ops library to 2.1.0

Upgrade ops library to 2.1.0 #71

Workflow file for this run

name: Tests
on: [pull_request, push]
jobs:
lint:
name: Lint
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Install dependencies
run: python3 -m pip install tox
- name: Run linters
run: tox -e lint
integration-test-microk8s:
name: Integration tests (microk8s)
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Setup operator environment
uses: charmed-kubernetes/actions-operator@main
with:
provider: microk8s
# this creates the right model for our charm.
bootstrap-options: "--default-model=cloudcasa-system"
- name: Run integration tests
# set a predictable model name so it can be consumed by charm-logdump-action
run: tox -e integration -- --model cloudcasa-system
- name: Dump logs
uses: canonical/charm-logdump-action@main
if: failure()
with:
app: cloudcasa
model: testing