Skip to content

[pre-commit.ci] pre-commit autoupdate #156

[pre-commit.ci] pre-commit autoupdate

[pre-commit.ci] pre-commit autoupdate #156

Workflow file for this run

name: Tests
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
test:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-versions: ["3.7", "3.8", "3.9", "3.10"]
steps:
- uses: actions/checkout@v3
- name: Set up Python --version ${{ matrix.python-version }}
uses: actions/setup-python@v3
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install pipenv
pipenv install --system --dev
- name: Run tests
run: |
pytest -vvv test/
install:
needs: test
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-versions: ["3.7", "3.8", "3.9", "3.10"]
steps:
- uses: actions/checkout@v3
- name: Set up Python --version ${{ matrix.python-version }}
uses: actions/setup-python@v3
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install pipenv
pipenv install --system
- name: Run pip installation
run: |
pip install .
- name: Run post install script
run: |
dirstory install