26 lines
586 B
YAML
26 lines
586 B
YAML
name: Python package
|
|
|
|
on: [push]
|
|
|
|
jobs:
|
|
build-and-publish:
|
|
|
|
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
|
|
- name: Install dependencies
|
|
run: poetry install
|
|
- name: Test with tox
|
|
run: poetry run tox -p auto -o
|