Skip to content

Set build.os on readthedocs #31

Set build.os on readthedocs

Set build.os on readthedocs #31

name: wellpathpy test and build action
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
tests:
runs-on: ubuntu-latest
strategy:
matrix:
python: [3.6, 3.7, 3.8, 3.9]
steps:
- uses: actions/checkout@v2
- name: Set up python environment
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements-dev.txt
- name: Run tests
run: |
python setup.py pytest
- name: Build wheel
run: |
python setup.py bdist_wheel