pyo3/.github/workflows/test.yml
2019-11-16 21:39:59 +09:00

32 lines
733 B
YAML

name: Test
on: [push]
jobs:
build:
runs-on: windows-latest
strategy:
max-parallel: 4
matrix:
python-version: [3.5, 3.6, 3.7, 3.8]
steps:
- uses: actions/checkout@v1
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v1
with:
python-version: ${{ matrix.python-version }}
- name: Install Rust
run: ci/appveyor/setup
shell: powershell
- name: Build
run: cargo build --verbose
- name: Install test dependencies
run: |
python -m pip install -U pip setuptools
pip install setuptools-rust pytest pytest-benchmark tox tox-venv
- name: Test
run: ci/appveyor/test
shell: powershell