GitHub Actions (lens)

This commit is contained in:
Nelson Chen
2019-11-09 09:49:46 -07:00
committed by simleek
parent 51777a6e55
commit 1b4818edad
2 changed files with 23 additions and 22 deletions
+23
View File
@@ -0,0 +1,23 @@
name: Python package
on: [push]
jobs:
build:
runs-on: windows-latest
strategy:
fail-fast: false
max-parallel: 4
matrix:
python-version: [3.6, 3.7]
steps:
- uses: actions/checkout@v1
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v1
with:
python-version: ${{ matrix.python-version }}
- uses: dschep/install-poetry-action@v1.2
- run: poetry install
- run: poetry run pytest tests