Skip to content

docs: rewrite README for v2.0 with new endpoints, Docker, testing, an… #3

docs: rewrite README for v2.0 with new endpoints, Docker, testing, an…

docs: rewrite README for v2.0 with new endpoints, Docker, testing, an… #3

Workflow file for this run

name: CI
on:
push:

Check failure on line 4 in .github/workflows/ci.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/ci.yml

Invalid workflow file

You have an error in your yaml syntax on line 4
branches: [main]
pull_request:
branches: [main]
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.11", "3.12"]
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: Run tests
env:
WHATSAPP_TOKEN: test_token
WHATSAPP_PHONE_NUMBER_ID: "123456789"
WHATSAPP_SECRET: test_secret
VERIFY_TOKEN: test_verify_token
run: pytest tests/ -v