Css-methodSelection #91
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: pytest | |
on: | |
pull_request: | |
workflow_dispatch: | |
inputs: | |
logLevel: | |
description: 'Log level' | |
required: true | |
default: 'warning' | |
tags: | |
description: 'Test scenario tags' | |
defaults: | |
run: | |
shell: bash -l {0} | |
jobs: | |
run-matrix: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [ubuntu-latest, macos-latest, windows-latest] | |
python-version: ["3.11"] | |
fail-fast: false | |
steps: | |
- uses: actions/checkout@v3 | |
# pip cache | |
- name: pip cache | |
uses: actions/setup-python@v4 | |
with: | |
python-version: ${{ matrix.python-version }} | |
cache: 'pip' | |
# pip install | |
- name: pip install | |
run: python3 -m pip install -U pip && python3 -m pip install ".[dev]" | |
# pytest | |
- name: Run pytest | |
uses: coactions/setup-xvfb@v1 | |
with: | |
run: pytest --cov=./src/vai_lab -v --cov-report=xml:./coverage.xml --cov-report term-missing |