-
Notifications
You must be signed in to change notification settings - Fork 31
37 lines (34 loc) · 1.28 KB
/
cron_integrationtests.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
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