Skip to content

Change workflow to run on PR events. #18

Change workflow to run on PR events.

Change workflow to run on PR events. #18

Workflow file for this run

name: Python package
on:
push:
pull_request:
types: [opened, synchronize]
jobs:
build:
runs-on: ubuntu-20.04
strategy:
matrix:
python-version: ["3.6"]
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install pytest
pip install .
- name: Test with pytest
run: |
pytest