2020-02-16 11:00:33 +01:00
|
|
|
name: CI
|
|
|
|
|
|
|
|
on: [push, pull_request]
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
gitHubActionForPytest:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
strategy:
|
|
|
|
matrix:
|
2024-05-16 10:14:28 +02:00
|
|
|
python-version: [3.8, 3.11, 3.12]
|
2020-02-16 11:00:33 +01:00
|
|
|
name: GitHub Action
|
|
|
|
steps:
|
|
|
|
- name: Checkout
|
|
|
|
uses: actions/checkout@v2
|
2022-09-08 10:04:20 +02:00
|
|
|
- name: Install dependencies
|
|
|
|
run: |
|
|
|
|
python -m pip install -r requirements-dev.txt
|
2020-03-18 08:09:35 +01:00
|
|
|
- name: Lint
|
|
|
|
run: |
|
2022-09-08 10:04:20 +02:00
|
|
|
make lint
|
2020-02-16 11:00:33 +01:00
|
|
|
- name: Unit Test
|
|
|
|
run: |
|
2022-09-08 10:04:20 +02:00
|
|
|
make test
|
2020-03-03 09:48:44 +01:00
|
|
|
- name: Coverage
|
|
|
|
run: |
|
2022-09-08 10:04:20 +02:00
|
|
|
make coverage
|