Skip to content

Commit

Permalink
Merge branch 'main' into feature-fix/tests
Browse files Browse the repository at this point in the history
  • Loading branch information
rushabhvaria committed Mar 30, 2023
2 parents ee24d18 + 5809820 commit dcd2c31
Showing 1 changed file with 37 additions and 0 deletions.
37 changes: 37 additions & 0 deletions .github/workflows/cron_integrationtests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
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

0 comments on commit dcd2c31

Please sign in to comment.