Test Google Ads API queries #492
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Test Google Ads API queries | |
on: | |
push: | |
paths: | |
- '**/google_ads_queries/*.sql' | |
schedule: | |
- cron: "* 1 * * *" | |
jobs: | |
simulate-queries: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
version: [15, 16, 17] | |
permissions: | |
contents: read | |
packages: write | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v3 | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip | |
pip install google-ads-api-report-fetcher[simulator]==1.14.3 | |
- name: Run test script | |
run: | | |
chmod a+x ./tests/test_google_queries.sh | |
./tests/test_google_queries.sh ${{matrix.version}} |