Skip to content

feat: add requirements #276

feat: add requirements

feat: add requirements #276

Workflow file for this run

name: Continuous Integration
on: [push, pull_request]
env:
COVERALLS_REPO_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
ENVIRONMENT: test
VERBOSE: true
TERM: xterm
jobs:
test:
name: Test
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
python-version: [2.7, 3.5, 3.6, 3.7, 3.8, 3.9]
steps:
- uses: actions/checkout@v2
- name: Show ref
run: |
echo "Checking out $GITHUB_REF..."
- uses: actions/setup-python@v2
name: Set up Python ${{ matrix.python-version }}
with:
python-version: ${{ matrix.python-version }}
- name: Upgrade PIP and packages
run: |
python -m pip install --upgrade pip setuptools wheel
- name: Install dependencies
run: |
cat requirements-dev.txt | xargs -t -n1 -P4 pip install
python setup.py develop
- name: Run Tests
run: |
python -m tox -e py$(echo "${{ matrix.python-version }}" | tr -d '.') --parallel all
- name: Run Coverage
run: |
coveralls --service github