Skip to content

MY PR TEST

MY PR TEST #9

Workflow file for this run

name: macOS Tests
on:
pull_request:
jobs:
macos-tests:
if: contains(github.event.pull_request.labels.*.name, 'release')
name: macOS Tests
runs-on: ${{ matrix.os }}
strategy:
fail-fast: true
matrix:
include:
- {os: macos-latest, architecture: arm64, python-version: '3.10'}
- {os: macos-latest, architecture: arm64, python-version: '3.11'}
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 1
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install Poetry
uses: snok/install-poetry@v1
with:
virtualenvs-create: true
virtualenvs-in-project: true
- name: Install dependencies with Poetry
run: |
poetry install --no-interaction --no-root
shell: bash
- name: Run unit tests
run: poetry run pytest