Skip to content

Add Google Chat notification handler; Allow more than one handler to be used at a time; Fix MS teams notification test; Fix failing GitHub build; Prevent a job from failing when coverage step fails; #343

Add Google Chat notification handler; Allow more than one handler to be used at a time; Fix MS teams notification test; Fix failing GitHub build; Prevent a job from failing when coverage step fails;

Add Google Chat notification handler; Allow more than one handler to be used at a time; Fix MS teams notification test; Fix failing GitHub build; Prevent a job from failing when coverage step fails; #343

Workflow file for this run

name: Tests
on:
push:
branches:
- main
- develop
pull_request:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Setup python
uses: actions/setup-python@v2.2.1
with:
python-version: "3.8"
- name: Setup virtualenv
run: |
python -V
python -m pip install virtualenv pipdeptree
virtualenv venv
source venv/bin/activate
pip install --upgrade pip
- name: Check pre-commit status
run: |
pip install --only-binary=google-re2 .[tests]
pip freeze
pipdeptree
pre-commit run --all-files
- name: Test with tox
run: |
tox -e py38
- name: Report coverage
uses: paambaati/codeclimate-action@v2.7.5
env:
CC_TEST_REPORTER_ID: 2f513a15560b9848db21cca75606745b5283b68b5935e8c481c25eb0090a2a36
with:
coverageCommand: coverage xml
debug: true
coverageLocations: coverage.xml:coverage.py