Skip to content

Limit number of requests sent to OpenAlex in tests (#44) #213

Limit number of requests sent to OpenAlex in tests (#44)

Limit number of requests sent to OpenAlex in tests (#44) #213

Workflow file for this run

name: test-suite
on: [push, pull_request]
jobs:
lint-python:
name: lint-python
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: '3.11'
architecture: 'x64'
- name: Install ruff
run: |
pip install ruff
- name: Lint python with ruff
run: |
ruff check .
test-master:
name: pytest
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
- name: Install packages and run tests
run: |
python3 -m pip install pip -U
pip install pytest
pip install .
pytest