Skip to content

Merge pull request #30 from open-resources/remove-num-is-zero-log #75

Merge pull request #30 from open-resources/remove-num-is-zero-log

Merge pull request #30 from open-resources/remove-num-is-zero-log #75

Workflow file for this run

name: Tests
on:
push:
branches: [main]
paths:
- "tests/**"
- "src/**"
- "pyproject.toml"
- "poetry.lock"
- ".github/workflows/tests.yml"
pull_request:
branches: [main]
paths:
- "tests/**"
- "src/**"
- "pyproject.toml"
- "poetry.lock"
- ".github/workflows/tests.yml"
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
merge_group:
permissions:
contents: read
jobs:
tests:
runs-on: ubuntu-latest
#strategy:
concurrency:
group: tests-${{ github.ref }}
cancel-in-progress: true
steps:
- uses: actions/checkout@v3
- name: Install Poetry --with dev
run: |
curl -sSL https://install.python-poetry.org | python -
echo "$HOME/.poetry/bin" >> $GITHUB_PATH
- name: Set up Python 3.10
uses: actions/setup-python@v4
with:
python-version: "3.10"
cache: poetry
- name: Install dependencies
run: |
poetry install
- name: Run tests
run: |
poetry run pytest tests