Skip to content
This repository was archived by the owner on Apr 24, 2025. It is now read-only.

Commit 3e2afb9

Browse files
committed
use 3.10 in cci
1 parent 22a059c commit 3e2afb9

1 file changed

Lines changed: 12 additions & 14 deletions

File tree

.circleci/config.yml

Lines changed: 12 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -3,26 +3,24 @@
33
version: 2
44

55
shared: &shared
6-
steps:
7-
- checkout
8-
# Define config in CircleCi's project settings → Environment Variables
9-
- run: echo \{\"app_id\":\"$FB_APP_ID\",\"app_secret\":\"$FB_APP_SECRET\",\"act_id\":\"act_$FB_ACCOUNT_ID\",\"page_id\":\"$FB_PAGE_ID\",\"access_token\":\"$FB_ACCESS_TOKEN\",\"business\":\"$FB_BUSINESS_ID\",\"sec_business\":\"$FB_BUSINESS_ID_BIS\",\"sec_act_id\":\"act_$FB_ACCOUNT_ID_BIS\"\} > config.json
10-
# Cheapo virtualenv, CCi images use the circleci user so no writing to the root site-packages
11-
- run: virtualenv venv
12-
- run: venv/bin/python setup.py install
13-
- run: venv/bin/python -m facebook_business.test.unit
6+
steps:
7+
- checkout
8+
# Define config in CircleCi's project settings → Environment Variables
9+
- run: echo \{\"app_id\":\"$FB_APP_ID\",\"app_secret\":\"$FB_APP_SECRET\",\"act_id\":\"act_$FB_ACCOUNT_ID\",\"page_id\":\"$FB_PAGE_ID\",\"access_token\":\"$FB_ACCESS_TOKEN\",\"business\":\"$FB_BUSINESS_ID\",\"sec_business\":\"$FB_BUSINESS_ID_BIS\",\"sec_act_id\":\"act_$FB_ACCOUNT_ID_BIS\"\} > config.json
10+
# Cheapo virtualenv, CCi images use the circleci user so no writing to the root site-packages
11+
- run: virtualenv venv
12+
- run: venv/bin/python setup.py install
13+
- run: venv/bin/python -m facebook_business.test.unit
1414

1515
jobs:
16-
python-3.7: # Not specified in tox.ini
16+
python-3.10: # Not specified in tox.ini
1717
<<: *shared
1818
docker:
19-
- image: circleci/python:3.7-stretch-node
20-
21-
19+
- image: python:3.7-buster
2220

2321
all_jobs: &all_jobs
24-
jobs:
25-
- python-3.7
22+
jobs:
23+
- python-3.10
2624

2725
workflows:
2826
version: 2

0 commit comments

Comments
 (0)