Skip to content

Merge pull request #1 from OntoUML/dependabot/github_actions/actions/… #8

Merge pull request #1 from OntoUML/dependabot/github_actions/actions/…

Merge pull request #1 from OntoUML/dependabot/github_actions/actions/… #8

Workflow file for this run

name: Code testing
on: push
permissions:
contents: read
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ ubuntu-latest, macos-latest, windows-latest ]
python-version: [ "3.10", "3.11" ]
steps:
- name: Harden Runner
uses: step-security/harden-runner@8ca2b8b2ece13480cda6dacd3511b49857a23c09 # v2.5.1
with:
egress-policy: audit
- uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4.1.0
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@65d7f2d534ac1bc67fcd62888c5f4f3d2cb2b236 # v4.7.1
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
pwd
ls .
- name: Testing with pytest
run: pytest ./validator/tests/test_main.py