Bump Google Ads Version to v17 #437
Workflow file for this run
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
on: | |
pull_request: | |
workflow_dispatch: | |
push: { branches: [main]} | |
jobs: | |
unit-tests: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Run Tightlock Containers | |
env: | |
COMPOSE_INTERACTIVE_NO_CLI: 1 | |
run: bash ./run_tightlock.sh -i non-interactive | |
- name: Check running containers | |
run: docker-compose ps -a | |
- name: Check API logs | |
run: docker-compose logs tightlock-api | |
- name: Check Airflow logs | |
run: docker-compose logs airflow-init | |
- name: Connection unit tests | |
# TODO(b/265930300): Bump --cov-fail-under=90 once more tests are added | |
run: docker-compose exec -T airflow-worker pytest -v --cov --cov-fail-under=10 | |
env: | |
COMPOSE_INTERACTIVE_NO_CLI: 1 | |
# TODO(b/268734647): Add mypy static tests once all typing errors are gone | |
# run: docker-compose exec -T airflow-worker pytest -v --mypy --cov | |
integration-tests: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Run Integration Tests | |
run: bash ./run_integration_tests.sh | |
- name: Rename logs | |
run: for i in logs/**/*:*:*; do mv -- "$i" "${i//:/_}"; done | |
- name: Archive logs | |
uses: actions/upload-artifact@v3 | |
with: | |
name: airflow-logs | |
path: logs |