nagios-http-json/.github/workflows/unittest.yml

23 lines
524 B
YAML
Raw Normal View History

2020-02-16 11:00:33 +01:00
name: CI
on: [push, pull_request]
jobs:
gitHubActionForPytest:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.6, 3.7, 3.8]
name: GitHub Action
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Unit Test
run: |
python -m unittest discover
2020-03-03 09:48:44 +01:00
- name: Coverage
run: |
pip install coverage
python -m coverage run -m unittest discover
python -m coverage report -m --include check_http_json.py