Cron Integration Tests #83
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: Cron Integration Tests | |
on: | |
schedule: | |
- cron: "0 17 * * *" | |
jobs: | |
build: | |
environment: integ | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
python-version: ["3.8"] | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v4 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Run all integration tests | |
env: | |
PINTEREST_REFRESH_ACCESS_TOKEN: ${{ secrets.CI_REFRESH_ACCESS_TOKEN }} | |
PINTEREST_APP_SECRET: ${{ secrets.CI_APP_SECRET }} | |
PINTEREST_APP_ID: ${{ secrets.CI_APP_ID }} | |
PINTEREST_API_URI: ${{ secrets.CI_HOST_URI }} | |
CONVERSION_ACCESS_TOKEN: ${{ secrets.CI_CONVERSION_ACCESS_TOKEN }} | |
DEFAULT_BOARD_ID: ${{ secrets.CI_DEFAULT_BOARD_ID }} | |
DEFAULT_BOARD_NAME: ${{ secrets.CI_DEFAULT_BOARD_NAME }} | |
DEFAULT_PIN_ID: ${{ secrets.CI_DEFAULT_PIN_ID }} | |
DEFAULT_BOARD_SECTION_ID: ${{ secrets.CI_DEFAULT_BOARD_SECTION_ID }} | |
OWNER_USER_ID: ${{ secrets.CI_OWNER_USER_ID }} | |
DEFAULT_AD_ACCOUNT_ID: ${{ secrets.CI_DEFAULT_AD_ACCOUNT_ID }} | |
run: | | |
python -m pip install --upgrade pip | |
make install_dev | |
make integration_tests |