- rst heading definitions - indirect hyperlinks and code-blocks added for better readability - MarkDown warnings resolved - Yaml style issues fixed
35 lines
673 B
YAML
35 lines
673 B
YAML
name: units-test-scripts-common
|
|
|
|
on:
|
|
pull_request:
|
|
push:
|
|
branches:
|
|
- master
|
|
|
|
jobs:
|
|
test:
|
|
runs-on: ubuntu-latest
|
|
|
|
strategy:
|
|
matrix:
|
|
python-version:
|
|
- "3.12"
|
|
|
|
steps:
|
|
- name: Checkout code
|
|
uses: actions/checkout@v4
|
|
|
|
- name: Set up Python
|
|
uses: actions/setup-python@v5
|
|
with:
|
|
python-version: ${{ matrix.python-version }}
|
|
|
|
- name: Install dependencies
|
|
run: |
|
|
python -m pip install --upgrade pip
|
|
pip install -r scripts/structures_pruning/requirements/testing.txt
|
|
|
|
- name: Run pytest
|
|
run: |
|
|
pytest scripts/structures_pruning
|