pyo3/.github/workflows/test.yml

36 lines
894 B
YAML
Raw Normal View History

2019-11-16 12:39:59 +00:00
name: Test
on: [push, pull_request]
2019-11-16 12:39:59 +00:00
jobs:
build:
runs-on: windows-latest
strategy:
2019-12-28 11:45:45 +00:00
max-parallel: 4
2019-11-16 12:39:59 +00:00
matrix:
2020-02-01 13:40:54 +00:00
python-version: [3.5, 3.6, 3.7, 3.8]
2019-11-16 12:39:59 +00:00
steps:
- uses: actions/checkout@v1
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v1
with:
python-version: ${{ matrix.python-version }}
- name: Set Python PATH
run: ci/actions/setup
- name: Install Rust
uses: actions-rs/toolchain@v1
with:
toolchain: nightly
default: true
- 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/actions/test
2020-01-12 14:33:34 +00:00
env:
RUST_BACKTRACE: 1