Skip to content

Commit 9222b9b

Browse files
committed
Updated for green
1 parent 09a84f7 commit 9222b9b

File tree

1 file changed

+14
-6
lines changed

1 file changed

+14
-6
lines changed

.github/workflows/build.yml

Lines changed: 14 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,21 @@ on:
33
push:
44
branches:
55
- master
6+
paths-ignore:
7+
- 'README.md'
8+
- '.vscode/**'
9+
610
pull_request:
711
branches:
812
- master
13+
paths-ignore:
14+
- 'README.md'
15+
- '.vscode/**'
916

1017
jobs:
1118
build:
1219
runs-on: ubuntu-latest
13-
container: python:3.9-slim
20+
container: python:3.11-slim
1421

1522
services:
1623
couchdb:
@@ -25,24 +32,25 @@ jobs:
2532
--health-interval 10s
2633
--health-timeout 5s
2734
--health-retries 5
35+
2836
steps:
2937
- uses: actions/checkout@v2
3038

3139
- name: Install dependencies
3240
run: |
3341
python -m pip install --upgrade pip wheel
3442
pip install -r requirements.txt
43+
3544
- name: Create the test database
3645
run: |
3746
apt-get update
3847
apt-get install -y curl
3948
curl -X PUT http://admin:pass@couchdb:5984/test
40-
- name: Run unit tests with nose
41-
run: nosetests
49+
50+
- name: Run unit tests with green
51+
run: green
4252
env:
4353
BINDING_CLOUDANT: '{"username":"admin","password":"pass","host":"couchdb","port":5984,"url":"http://admin:pass@couchdb:5984"}'
4454

4555
- name: Upload code coverage
46-
uses: codecov/codecov-action@v2.1.0
47-
with:
48-
version: "v0.1.13"
56+
uses: codecov/codecov-action@v3.1.4

0 commit comments

Comments
 (0)