Skip to content

Commit a51da1e

Browse files
committed
added badge for github test action
Also removed Slack notifications which were not working.
1 parent 019113b commit a51da1e

File tree

2 files changed

+3
-21
lines changed

2 files changed

+3
-21
lines changed

.github/workflows/main.yml

Lines changed: 1 addition & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: twarc tests
1+
name: tests
22
on: [push]
33
jobs:
44
build:
@@ -27,23 +27,3 @@ jobs:
2727
ACCESS_TOKEN: ${{ secrets.access_token }}
2828
ACCESS_TOKEN_SECRET: ${{ secrets.access_token_secret }}
2929
run: python setup.py test
30-
31-
- name: notify slack success
32-
if: success()
33-
env:
34-
SLACK_BOT_TOKEN: ${{ secrets.slack_bot_token }}
35-
uses: voxmedia/github-action-slack-notify-build@v1
36-
with:
37-
channel: development
38-
status: SUCCESS
39-
color: good
40-
41-
- name: notify slack fail
42-
if: failure()
43-
env:
44-
SLACK_BOT_TOKEN: ${{ secrets.slack_bot_token }}
45-
uses: voxmedia/github-action-slack-notify-build@v1
46-
with:
47-
channel: development
48-
status: FAILED
49-
color: danger

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
twarc
22
=====
33

4+
![tests](https://github.com/docnow/twarc/workflows/tests/badge.svg)
5+
46
*Translations: [Chinese], [Japanese], [Portuguese], [Spanish], [Swahili], [Swedish]*
57

68
twarc is a command line tool and Python library for archiving Twitter JSON data.

0 commit comments

Comments
 (0)