Skip to content
This repository was archived by the owner on Jun 9, 2025. It is now read-only.

run tests on python 3.12 #15

run tests on python 3.12

run tests on python 3.12 #15

name: Apply SW4HW Standards
on:
workflow_dispatch:
pull_request:
types: [opened, reopened, synchronize, edited]
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
standardize:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Setup Python
uses: actions/setup-python@v4
with:
python-version: '3.11'
- name: Run tests
run:
python -m pytest instruments --showlocals --full-trace --cov=pymeasure --cov-report xml:coverage.xml --cov-report term-missing --junitxml junit.xml
- name: Upload test artifacts
uses: actions/upload-artifact@v4
with:
name: unit-test-artifacts-${{ github.head_ref }}
path: ./**/*.xml