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

Commit 92874e2

Browse files
committed
use 3.10 in cci
1 parent 22a059c commit 92874e2

File tree

1 file changed

+13
-14
lines changed

1 file changed

+13
-14
lines changed

.circleci/config.yml

Lines changed: 13 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -3,26 +3,25 @@
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: pip install --no-cache-dir virtualenv && virtualenv venv3
12+
- run: virtualenv venv
13+
- run: venv/bin/python setup.py install
14+
- run: venv/bin/python -m facebook_business.test.unit
1415

1516
jobs:
16-
python-3.7: # Not specified in tox.ini
17+
python-3.10: # Not specified in tox.ini
1718
<<: *shared
1819
docker:
19-
- image: circleci/python:3.7-stretch-node
20-
21-
20+
- image: python:3.7-buster
2221

2322
all_jobs: &all_jobs
24-
jobs:
25-
- python-3.7
23+
jobs:
24+
- python-3.10
2625

2726
workflows:
2827
version: 2

0 commit comments

Comments
 (0)