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

23 lines
528 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: |
2020-03-03 10:04:03 +01:00
python3 -m unittest discover
2020-03-03 09:48:44 +01:00
- name: Coverage
run: |
2020-03-03 10:04:03 +01:00
pip3 install coverage
python3 -m coverage run -m unittest discover
python3 -m coverage report -m --include check_http_json.py