Skip to content

Commit

Permalink
update workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
erdogant committed Jul 12, 2023
1 parent f39d9f9 commit f9c29bc
Showing 1 changed file with 9 additions and 8 deletions.
17 changes: 9 additions & 8 deletions .github/workflows/pytest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,27 +2,28 @@ name: Pytest for findpeaks
on: [push]

jobs:
example-1:
name: Ex1 (${{ matrix.python-version }}, ${{ matrix.os }})
test:
name: Pytest (${{ matrix.python-version }}, ${{ matrix.os }})
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: ["ubuntu-latest"]
python-version: [3.10]
python-version: ["3.8", "3.10"]
steps:
- uses: actions/checkout@v2
- uses: conda-incubator/setup-miniconda@v2
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
auto-update-conda: true
python-version: ${{ matrix.python-version }}
cache: 'pip'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
#pip install opencv-python
pip install pytest
pip install -e .
- name: Test with pytest
run: |
pip install pytest
pytest

0 comments on commit f9c29bc

Please sign in to comment.