This repository has been archived by the owner on Nov 27, 2023. It is now read-only.
add comment #272
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: 'Development Pipeline' | |
on: | |
push: | |
pull_request: | |
types: [opened, synchronize] #labeled, assigned] | |
# runs-on: ${{ matrix.os }} | |
# strategy: | |
# matrix: | |
# os: [macOS-10.14, ubuntu-18.04] | |
jobs: | |
build-and-test: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
python-version: [3.7, 3.8, 3.9, 3.11] # | |
steps: | |
- name: Checkout | |
uses: actions/checkout@main | |
with: | |
submodules: recursive | |
- name: Set up Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v2 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip | |
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi | |
pip install pytest | |
pip install pytest-cov | |
pip install -e . | |
- name: Test with pytest | |
run: | | |
pytest |