diff --git a/.github/workflows/tox.yaml b/.github/workflows/tox.yaml new file mode 100644 index 00000000..ad46195e --- /dev/null +++ b/.github/workflows/tox.yaml @@ -0,0 +1,20 @@ +name: Test Suite + +on: + - pull_request + +jobs: + tox: + name: Tests + runs-on: ubuntu-latest + steps: + - name: Check out code + uses: actions/checkout@v2 + - name: Setup Python + uses: actions/setup-python@v2 + with: + python-version: 3.7 + - name: Install Tox + run: pip install tox + - name: Run tests + run: tox diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 9c593852..00000000 --- a/.travis.yml +++ /dev/null @@ -1,7 +0,0 @@ -language: python -dist: xenial -python: - - "2.7" - - "3.7" -install: pip install tox-travis -script: tox diff --git a/charmtools/build/tactics.py b/charmtools/build/tactics.py index 676945fc..72b4b46a 100644 --- a/charmtools/build/tactics.py +++ b/charmtools/build/tactics.py @@ -515,6 +515,7 @@ class InterfaceBind(DynamicHookBind): relation hooks needed by this charm. """ HOOKS = [ + '{}-relation-created', '{}-relation-joined', '{}-relation-changed', '{}-relation-broken',