Skip to content

populate 0 for null valued asset reports, to fix no-write bug #96

populate 0 for null valued asset reports, to fix no-write bug

populate 0 for null valued asset reports, to fix no-write bug #96

# Workflow for the Ads Policy Monitor Cloud Function
name: Ads Policy Monitor Cloud Function
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
permissions:
contents: read
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Check out repo code
uses: actions/checkout@v3
- name: Set up Python 3.11
uses: actions/setup-python@v3
with:
python-version: "3.11"
- name: Install dependencies
working-directory: ./cloud_functions/ads_policy_monitor
run: |
python -m pip install --upgrade pip
pip install pytest
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
- name: Test with pytest
working-directory: ./cloud_functions/ads_policy_monitor
run: |
pytest