Skip to content

Commit

Permalink
Adapt wfs
Browse files Browse the repository at this point in the history
  • Loading branch information
arturo-seijas committed Aug 25, 2023
1 parent 8cf3ae9 commit 42aef48
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 11 deletions.
13 changes: 3 additions & 10 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,6 @@ on:
pull_request:

jobs:
unit-test:
name: Unit tests
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- name: Install tox
run: |
python -m pip install --upgrade pip
pip install tox
- run: tox -e unit
unit-tests:
uses: canonical/operator-workflows/.github/workflows/test.yaml@main
secrets: inherit
11 changes: 10 additions & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
[tox]
skipsdist=True
skip_missing_interpreters = True
envlist = unit, integration
envlist = unit, static, coverage-report

[vars]
src_path = {toxinidir}/src/
Expand Down Expand Up @@ -81,6 +81,15 @@ setenv =
PYTHONPATH={toxinidir}/src:{toxinidir}/build/lib:{toxinidir}/build/venv
TZ=UTC

[testenv:coverage-report]
description = Create test coverage report
deps =
coverage[toml]
pytest
-r{toxinidir}/requirements.txt
commands =
coverage report

[testenv:integration]
passenv =
HOME
Expand Down

0 comments on commit 42aef48

Please sign in to comment.