Skip to content

build(deps-dev): bump pytest from 8.0.2 to 8.1.1 in /dblp-fetcher (#119) #88

build(deps-dev): bump pytest from 8.0.2 to 8.1.1 in /dblp-fetcher (#119)

build(deps-dev): bump pytest from 8.0.2 to 8.1.1 in /dblp-fetcher (#119) #88

Workflow file for this run

name: Main
on:
push:
branches: [ main ]
jobs:
build-dblp-fetcher:
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./dblp-fetcher
strategy:
matrix:
python-version: ["3.10"]
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install Poetry
uses: snok/install-poetry@v1.3.4
with:
virtualenvs-in-project: true
- name: Load cached venv
id: cached-poetry-dependencies
uses: actions/cache@v4.0.1
with:
path: .venv
key: venv-${{ runner.os }}-${{ hashFiles('**/poetry.lock') }}
- name: Install dependencies
if: steps.cached-poetry-dependencies.outputs.cache-hit != 'true'
run: poetry install --no-interaction --no-root
- name: Install library
run: poetry install --no-interaction
- name: Test with pytest
run: poetry run pytest --doctest-modules