Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tests for github payloads and fresh test data #94

Open
wants to merge 32 commits into
base: v5
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
32 commits
Select commit Hold shift + click to select a range
0bd38a5
added payload tests and scraped testdata
henrikrudstrom Oct 7, 2019
17f7d91
make test run agains new testdata
henrikrudstrom Oct 7, 2019
efa3a21
fixed check-run
henrikrudstrom Oct 7, 2019
ede67be
fixed check-suite
henrikrudstrom Oct 7, 2019
f9f2f2f
fixed commit-comment
henrikrudstrom Oct 7, 2019
86ab844
fixed create payload
henrikrudstrom Oct 7, 2019
7391606
fixed delete payload
henrikrudstrom Oct 7, 2019
baf4371
fixed deployment and deployment status
henrikrudstrom Oct 7, 2019
deeac91
fixed fork payload
henrikrudstrom Oct 7, 2019
80133c2
fixed gollum payload
henrikrudstrom Oct 7, 2019
0de5d83
fixed installtion and installation-repositories
henrikrudstrom Oct 7, 2019
ef75901
fixed issues and issue-comment payloads
henrikrudstrom Oct 8, 2019
9435dc8
fixed label payload
henrikrudstrom Oct 8, 2019
260574f
fixed member and membership payloads
henrikrudstrom Oct 8, 2019
3c9941b
fixed Milestone payload
henrikrudstrom Oct 8, 2019
5228391
fixed org-block and organisation payloads
henrikrudstrom Oct 8, 2019
7e00036
fixed meta and page-build payload
henrikrudstrom Oct 8, 2019
4e0be67
fixed project-card project-column project payloads
henrikrudstrom Oct 8, 2019
89cfce7
fixed pull-request payload
henrikrudstrom Oct 8, 2019
a51ca31
fixed pull-request pull-request and pull-request-review payloads
henrikrudstrom Oct 8, 2019
e9d3dcd
fixed push payload
henrikrudstrom Oct 8, 2019
160691f
fixed release, repository-vulnerability-alert repository
henrikrudstrom Oct 8, 2019
45eb6a8
fixed team, team-add and watch payloads
henrikrudstrom Oct 8, 2019
3b95ab0
cleanup
henrikrudstrom Oct 8, 2019
831ba42
Refactored user struct
henrikrudstrom Oct 8, 2019
004b88f
Refacted structs
henrikrudstrom Oct 8, 2019
c79869b
updated travis
henrikrudstrom Oct 8, 2019
1950225
moved test data from tmp
henrikrudstrom Oct 8, 2019
62af9fc
removed some uncesserary changes to testdata
henrikrudstrom Oct 9, 2019
7f580b1
fixed sha in tests
henrikrudstrom Oct 12, 2019
7ac3d50
added missing PublicPayload test
henrikrudstrom Oct 15, 2019
7c02ced
Created separate Repository and User struct for PushPayload
henrikrudstrom Oct 15, 2019
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 8 additions & 7 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
language: go
go:
- 1.12.1
- tip
- 1.12.1
- tip
matrix:
allow_failures:
- go: tip

notifications:
email:
recipients: [email protected]
on_success: change
on_failure: always
email:
recipients: [email protected]
on_success: change
on_failure: always

before_install:
- go get -u github.com/go-playground/overalls
Expand All @@ -24,9 +24,10 @@ before_install:

before_script:
- go get -t ./...
- go get -u github.com/josephburnett/jd/lib

script:
- make test
- make test

after_success: |
[ $TRAVIS_GO_VERSION = 1.11.2 ] &&
Expand Down
2 changes: 1 addition & 1 deletion github/github.go
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ const (
MemberEvent Event = "member"
MembershipEvent Event = "membership"
MilestoneEvent Event = "milestone"
MetaEvent Event = "meta"
MetaEvent Event = "meta"
OrganizationEvent Event = "organization"
OrgBlockEvent Event = "org_block"
PageBuildEvent Event = "page_build"
Expand Down
Loading