Skip to content

build(deps): bump actions/cache from 3.3.1 to 3.3.2 (#95) #66

build(deps): bump actions/cache from 3.3.1 to 3.3.2 (#95)

build(deps): bump actions/cache from 3.3.1 to 3.3.2 (#95) #66

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@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install Poetry
uses: snok/[email protected]
with:
virtualenvs-in-project: true
- name: Load cached venv
id: cached-poetry-dependencies
uses: actions/[email protected]
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