Skip to content

fix: Exclude deprecated insights fields for v19.0 and above #624

fix: Exclude deprecated insights fields for v19.0 and above

fix: Exclude deprecated insights fields for v19.0 and above #624

Workflow file for this run

### A CI workflow template that runs linting and python testing
### TODO: Modify as needed or as desired.
name: Test tap-facebook
on:
pull_request:
types: [opened, synchronize, reopened]
push:
branches: [main]
workflow_dispatch:
inputs: {}
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
pytest:
runs-on: ubuntu-latest
env:
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
strategy:
matrix:
python-version:
- "3.9"
- "3.10"
- "3.11"
- "3.12"
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install Poetry
run: |
pipx install poetry
poetry --version
- name: Install dependencies
run: |
poetry install
- name: Test with pytest
id: test_pytest
continue-on-error: false
env:
TAP_FACEBOOK_ACCESS_TOKEN: ${{ secrets.tap_facebook_access_token }}
TAP_FACEBOOK_ACCOUNT_ID: ${{ secrets.tap_facebook_account_id }}
TAP_FACEBOOK_START_DATE: ${{ secrets.tap_facebook_start_date }}
run: |
poetry run pytest --capture=no