mirror of
https://github.com/unitedstates/congress-legislators.git
synced 2025-12-19 09:50:37 -05:00
Update circleci build image per https://discuss.circleci.com/t/legacy-convenience-image-deprecation/41034
This commit is contained in:
@@ -2,11 +2,11 @@ version: 2
|
||||
jobs:
|
||||
build:
|
||||
docker:
|
||||
- image: circleci/python:3.8
|
||||
- image: cimg/python:3.11
|
||||
steps:
|
||||
# Set up.
|
||||
- checkout
|
||||
- run: sudo pip install -r scripts/requirements.txt
|
||||
- run: pip install -r scripts/requirements.txt
|
||||
|
||||
# Run tests.
|
||||
- run: python test/workout.py
|
||||
@@ -19,10 +19,10 @@ jobs:
|
||||
# on the repo, which is not CircleCI's default.
|
||||
deploy:
|
||||
docker:
|
||||
- image: circleci/python:3.8
|
||||
- image: cimg/python:3.8
|
||||
steps:
|
||||
- checkout
|
||||
- run: sudo pip install -r scripts/requirements.txt
|
||||
- run: pip install -r scripts/requirements.txt
|
||||
- run: scripts/update_gh_pages.sh
|
||||
|
||||
workflows:
|
||||
|
||||
Reference in New Issue
Block a user