Skip to content

Add youtube, twitter api. Update github workflow #1

Add youtube, twitter api. Update github workflow

Add youtube, twitter api. Update github workflow #1

name: Python Poetry CI
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.10'
- name: Install Poetry
run: |
curl -sSL https://install.python-poetry.org | python3 -
- name: Add Poetry to PATH
run: |
echo "$HOME/.local/bin" >> $GITHUB_PATH
- name: Install dependencies
run: |
poetry install
- name: Run tests
run: |
poetry run pytest