Skip to content

Commit

Permalink
Added matrix pytest for 3.x
Browse files Browse the repository at this point in the history
  • Loading branch information
JnyJny committed Jan 10, 2021
1 parent e0bc30c commit 54d2cc5
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/pytest.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: pytest

on:
push:
tags:
- "*"

jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest]
python-version: [ '3.6', '3.7', '3.8', '3.9' ]
name: Test BitVector For Humans ${{ matrix.python-version }}
steps:
- uses: actions/checkout@v2
- name: Setup Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Install pip/poetry/pytest
run: |
python -m pip install --upgrade pip
pip install poetry pytest
- name: Install BitVector-For-Humans
run: |
poetry install
- name: Test with pytest
run: |
poetry run pytest

0 comments on commit 54d2cc5

Please sign in to comment.