mirror of
https://github.com/drewkerrigan/nagios-http-json.git
synced 2024-11-22 02:13:47 +01:00
Use Python3 in GitHub Action
This commit is contained in:
parent
3f81e32b29
commit
ba9d9b1c39
8
.github/workflows/unittest.yml
vendored
8
.github/workflows/unittest.yml
vendored
@ -14,9 +14,9 @@ jobs:
|
|||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
- name: Unit Test
|
- name: Unit Test
|
||||||
run: |
|
run: |
|
||||||
python -m unittest discover
|
python3 -m unittest discover
|
||||||
- name: Coverage
|
- name: Coverage
|
||||||
run: |
|
run: |
|
||||||
pip install coverage
|
pip3 install coverage
|
||||||
python -m coverage run -m unittest discover
|
python3 -m coverage run -m unittest discover
|
||||||
python -m coverage report -m --include check_http_json.py
|
python3 -m coverage report -m --include check_http_json.py
|
||||||
|
Loading…
Reference in New Issue
Block a user