mirror of
https://github.com/drewkerrigan/nagios-http-json.git
synced 2024-11-24 03:13:51 +01:00
27 lines
528 B
YAML
27 lines
528 B
YAML
name: CI
|
|
|
|
on: [push, pull_request]
|
|
|
|
jobs:
|
|
gitHubActionForPytest:
|
|
runs-on: ubuntu-latest
|
|
strategy:
|
|
matrix:
|
|
python-version: [3.8, 3,9]
|
|
name: GitHub Action
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v2
|
|
- name: Install dependencies
|
|
run: |
|
|
python -m pip install -r requirements-dev.txt
|
|
- name: Lint
|
|
run: |
|
|
make lint
|
|
- name: Unit Test
|
|
run: |
|
|
make test
|
|
- name: Coverage
|
|
run: |
|
|
make coverage
|