Skip to content

Commit c471e63

Browse files
committed
update CI images
1 parent ffe8be0 commit c471e63

File tree

2 files changed

+6
-8
lines changed

2 files changed

+6
-8
lines changed

.circleci/config.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,13 @@ version: 2.0
33
jobs:
44
build:
55
docker:
6-
- image: circleci/python:2.7-stretch-browsers
6+
- image: cimg/python:2.7-browsers
77
steps:
8+
- run: sudo apt update && sudo apt-get install pylint
89
- checkout
910
- run: "curl -fsSL https://testspace-client.s3.amazonaws.com/testspace-linux.tgz | sudo tar -zxvf- -C /usr/local/bin"
1011
- run: "testspace config url samples.testspace.com"
11-
- run: "sudo pip install -r requirements.txt"
12-
- run: "sudo apt-get install pylint"
12+
- run: "pip install -r requirements.txt"
1313
- run: "pylint stock_alerter/ -f parseable > analysis.txt || true"
1414
- run: "nose2 --junit-xml --with-coverage"
1515
- run:

.github/workflows/ci.yml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,17 +6,15 @@ on:
66

77
jobs:
88
build:
9-
runs-on: ubuntu-18.04
9+
runs-on: ubuntu-20.04
1010
steps:
11-
- uses: actions/setup-python@v2
11+
- uses: actions/setup-python@v4
1212
with:
1313
python-version: 2.7
1414
- name: Setup build tools
1515
run: |
1616
sudo apt-get install pylint
17-
- uses: actions/checkout@v2
18-
with:
19-
fetch-depth: 50
17+
- uses: actions/checkout@v3
2018
- uses: testspace-com/setup-testspace@v1
2119
with:
2220
domain: samples

0 commit comments

Comments
 (0)