Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add workflow dispatch event to check.yaml #22

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/workflows/check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ name: Check workflow running linter, unit and functional tests

on:
workflow_call:
workflow_dispatch:
pull_request:
types: [opened, synchronize, reopened]
branches: [master, main]
Expand Down
1 change: 1 addition & 0 deletions src/lib/lib_duplicity.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Duplicity juju actions."""

import os
import subprocess
from urllib.parse import urlparse
Expand Down
1 change: 1 addition & 0 deletions src/reactive/duplicity.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
* https://jujucharms.com/docs/devel/developer-getting-started
* https://github.com/juju-solutions/layer-basic#overview
"""

import base64
import binascii
import os
Expand Down
1 change: 1 addition & 0 deletions src/tests/functional/tests/configure.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Set up functional tests."""

import logging
import subprocess

Expand Down
1 change: 1 addition & 0 deletions src/tests/functional/tests/test_duplicity.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Zaza fun tests."""

import asyncio
import base64
import concurrent.futures
Expand Down
1 change: 1 addition & 0 deletions src/tests/functional/tests/utils.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Zaza func tests utils."""

from collections import namedtuple
from functools import wraps
from time import sleep
Expand Down
1 change: 1 addition & 0 deletions src/tests/unit/test_actions.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Unit tests for charm actions."""

from subprocess import CalledProcessError
from unittest.mock import patch

Expand Down
1 change: 1 addition & 0 deletions src/tests/unit/test_reactive_duplicity.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Unit tests for reactive hooks."""

from unittest.mock import ANY, MagicMock, call, mock_open, patch

from croniter import CroniterBadCronError, CroniterBadDateError, CroniterNotAlphaError
Expand Down
Loading