Skip to content

perf: always run saliency on multiproc regardless of cpu or gpu as it… #134

perf: always run saliency on multiproc regardless of cpu or gpu as it…

perf: always run saliency on multiproc regardless of cpu or gpu as it… #134

Workflow file for this run

name: Run pytest
on:
push:
pull_request:
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: '3.11'
- name: Install Poetry
run: |
curl -sSL https://install.python-poetry.org | python3 -
echo "${HOME}/.local/bin" >> $GITHUB_PATH
- name: Install dependencies
run: poetry install
- name: Set PYTHONPATH to subdirectory sdcat
run: echo "PYTHONPATH=." >> $GITHUB_ENV
- name: Run pytest
run: poetry run pytest