Skip to content

chore(deps): update dependency pytest to v9 [security] #5460

chore(deps): update dependency pytest to v9 [security]

chore(deps): update dependency pytest to v9 [security] #5460

Workflow file for this run

name: Test MicropyCli
on:
pull_request: ~
push:
branches:
- master
env:
POETRY_VERSION: 1.8.5
concurrency:
group: main-${{ github.event_name }}-${{ github.ref }}
cancel-in-progress: true
defaults:
run:
shell: bash
jobs:
test:
name: ${{ matrix.os }} @ Py v${{ matrix.python }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [windows-latest, macos-latest, ubuntu-latest]
python: ["3.9", "3.10", "3.11"]
steps:
- uses: actions/checkout@v4
- name: Setup environment.
uses: ./.github/actions/setup-micropy
with:
poetry-version: ${{ env.POETRY_VERSION }}
python-version: ${{ matrix.python }}
- name: Run Tests
run: poetry run pytest --cov --cov-config=pyproject.toml --junit-xml=test_log.xml --cov-report=xml:cov.xml -vv -ra -n'auto'
- name: Upload Codecov
uses: codecov/codecov-action@v4
env:
OS: ${{ matrix.os }}
PYTHON: ${{ matrix.python }}
with:
files: ./cov.xml
fail_ci_if_error: false
flags: unittests,py-${{ matrix.python }},os-${{ matrix.os }}
env_vars: OS,PYTHON