Skip to content

Commit 1c23b80

Browse files
committed
update circle config to use uv
1 parent 81509aa commit 1c23b80

1 file changed

Lines changed: 7 additions & 7 deletions

File tree

.circleci/config.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,16 @@ version: 2.1
22
jobs:
33
build:
44
docker:
5-
- image: 218546966473.dkr.ecr.us-east-1.amazonaws.com/circle-ci:stitch-tap-tester
5+
- image: 218546966473.dkr.ecr.us-east-1.amazonaws.com/circle-ci:stitch-tap-tester-uv
66
steps:
77
- checkout
88
- run:
99
name: "Setup virtual env"
1010
command: |
11-
python3 -mvenv /usr/local/share/virtualenvs/tap-zoho-crm
11+
uv venv --python 3.9 /usr/local/share/virtualenvs/tap-zoho-crm
1212
source /usr/local/share/virtualenvs/tap-zoho-crm/bin/activate
13-
pip install -U "pip==22.2.2" "setuptools==65.3.0"
14-
pip install .[dev]
13+
uv pip install -U setuptools
14+
uv pip install .[dev]
1515
- run:
1616
name: "JSON Validator"
1717
command: |
@@ -21,15 +21,15 @@ jobs:
2121
name: "pylint"
2222
command: |
2323
source /usr/local/share/virtualenvs/tap-zoho-crm/bin/activate
24-
pip install pylint
24+
uv pip install pylint
2525
pylint tap_zoho_crm -d C,R,W
2626
- add_ssh_keys
2727
- run:
2828
name: "Unit Tests"
2929
command: |
3030
source /usr/local/share/virtualenvs/tap-zoho-crm/bin/activate
31-
pip install nose coverage
32-
nosetests --with-coverage --cover-erase --cover-package=tap_zoho_crm --cover-html-dir=htmlcov tests/unittests
31+
uv pip install pytest coverage
32+
coverage run -m pytest tests/unittests
3333
coverage html
3434
- store_test_results:
3535
path: test_output/report.xml

0 commit comments

Comments
 (0)