mirror of
https://github.com/Babibubebon/isdn-python.git
synced 2024-09-23 01:34:20 +09:00
28 lines
653 B
YAML
28 lines
653 B
YAML
name: Test
|
|
|
|
on: [ push, pull_request ]
|
|
|
|
jobs:
|
|
test:
|
|
|
|
runs-on: ubuntu-latest
|
|
strategy:
|
|
matrix:
|
|
python-version: [ "3.10", "3.11" ]
|
|
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
- name: Set up Python ${{ matrix.python-version }}
|
|
uses: actions/setup-python@v4
|
|
with:
|
|
python-version: ${{ matrix.python-version }}
|
|
- name: Install Poetry
|
|
uses: abatilo/actions-poetry@v2.1.6
|
|
with:
|
|
poetry-version: 1.4.1
|
|
- name: Install dependencies
|
|
run: |
|
|
poetry install --no-interaction
|
|
- name: Run pytest
|
|
run: |
|
|
poetry run pytest --cov isdn
|