Skip to content

Commit d45444a

Browse files
committed
remove codecov and update deploys to release
1 parent 6abc9c8 commit d45444a

File tree

3 files changed

+6
-7
lines changed

3 files changed

+6
-7
lines changed

.github/workflows/release.yml

+5-5
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ on:
66
workflow_dispatch:
77

88
jobs:
9-
deploy:
10-
name: Deploy
9+
release:
10+
name: Release
1111
runs-on: ubuntu-latest
1212
steps:
1313
- name: Checkout sendgrid-python
@@ -32,15 +32,15 @@ jobs:
3232
notify-on-failure:
3333
name: Slack notify on failure
3434
if: ${{ failure() }}
35-
needs: [ deploy ]
35+
needs: [ release ]
3636
runs-on: ubuntu-latest
3737
steps:
3838
- uses: rtCamp/action-slack-notify@v2
3939
env:
4040
SLACK_COLOR: 'danger'
4141
SLACK_ICON_EMOJI: ':github:'
42-
SLACK_MESSAGE: ${{ format('Failed to deploy {1}{3} {0}/{1}/actions/runs/{2}', github.server_url, github.repository, github.run_id, ':') }}
43-
SLACK_TITLE: Deployment Failure
42+
SLACK_MESSAGE: ${{ format('Failed to release {1}{3} {0}/{1}/actions/runs/{2}', github.server_url, github.repository, github.run_id, ':') }}
43+
SLACK_TITLE: Release Failure
4444
SLACK_USERNAME: GitHub Actions
4545
SLACK_MSG_AUTHOR: twilio-dx
4646
SLACK_FOOTER: Posted automatically using GitHub Actions

.github/workflows/tests.yml

-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@ jobs:
3030

3131
- name: Build & Test
3232
run: make test-docker test-install
33-
- run: bash <(curl -s https://codecov.io/bash)
3433

3534
notify-on-failure:
3635
name: Slack notify on failure

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
![SendGrid Logo](twilio_sendgrid_logo.png)
22

3-
[![Tests](https://github.com/sendgrid/sendgrid-python/actions/workflows/test.yml/badge.svg)](https://github.com/sendgrid/sendgrid-python/actions/workflows/test.yml)[![codecov](https://img.shields.io/codecov/c/github/sendgrid/sendgrid-python/main.svg?style=flat-square&label=Codecov+Coverage)](https://codecov.io/gh/sendgrid/sendgrid-python)
3+
[![Tests](https://github.com/sendgrid/sendgrid-python/actions/workflows/tests.yml/badge.svg)](https://github.com/sendgrid/sendgrid-python/actions/workflows/tests.yml)
44
[![Docker Badge](https://img.shields.io/docker/automated/sendgrid/sendgrid-python.svg)](https://hub.docker.com/r/sendgrid/sendgrid-python/)
55
[![MIT licensed](https://img.shields.io/badge/license-MIT-blue.svg)](LICENSE)
66
[![Twitter Follow](https://img.shields.io/twitter/follow/sendgrid.svg?style=social&label=Follow)](https://twitter.com/sendgrid)

0 commit comments

Comments
 (0)