Skip to content

Create Automatic Releases (#189) #125

Create Automatic Releases (#189)

Create Automatic Releases (#189) #125

Workflow file for this run

name: pytest
on:
workflow_run:
workflows: ["Dependabot PR Check"]
types:
- completed
push:
paths:
- poetry.lock
- pyproject.toml
jobs:
build:
if: ${{ github.event.workflow_run.conclusion == 'success' || github.actor != 'dependabot[bot]' }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
python-version: ["3.9", "3.10"]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip poetry
poetry install
- name: Run test
env:
NAS_CREDS: ${{ secrets.NAS_CREDS_JSON }}
run: |
poetry run python -m pytest pyha_tests -rP