Skip to content

Add pydantic settings for scraper #17

Add pydantic settings for scraper

Add pydantic settings for scraper #17

Workflow file for this run

name: pytest
on:
push:
paths:
- 'lol_matches/**'
jobs:
test:
strategy:
matrix:
python-version: ["3.8", "3.9"]
poetry-version: [1.5.1]
runs-on: [ubuntu-latest]
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Set up poetry
uses: abatilo/[email protected]
with:
poetry-version: ${{ matrix.poetry-version }}
- name: Run test
env:
RIOT_API_KEY: ${{ secrets.RIOT_API_KEY }}
S3_BUCKET_NAME: ${{ secrets.S3_BUCKET_NAME }}
S3_ACCESS_KEY: ${{ secrets.S3_ACCESS_KEY }}
S3_SECRET_ACCESS_KEY: ${{ secrets.S3_SECRET_ACCESS_KEY }}
run: |
poetry install
poetry run pytest -v