From f9c29bc4308d66cdb23a059a4aa1cdb243bdc628 Mon Sep 17 00:00:00 2001 From: erdogant Date: Wed, 12 Jul 2023 22:04:48 +0200 Subject: [PATCH] update workflow --- .github/workflows/pytest.yml | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/.github/workflows/pytest.yml b/.github/workflows/pytest.yml index 586b9fd..b362ac4 100644 --- a/.github/workflows/pytest.yml +++ b/.github/workflows/pytest.yml @@ -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 \ No newline at end of file