mirror of
https://github.com/drewkerrigan/nagios-http-json.git
synced 2024-11-22 10:23:50 +01:00
27 lines
535 B
YAML
27 lines
535 B
YAML
name: CI
|
|
|
|
on: [push, pull_request]
|
|
|
|
jobs:
|
|
gitHubActionForPytest:
|
|
runs-on: ubuntu-latest
|
|
strategy:
|
|
matrix:
|
|
python-version: [3.8, 3.11, 3.12]
|
|
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
|