1
0
mirror of https://github.com/interviewstreet/go-jira.git synced 2024-11-28 08:39:03 +02:00
go-jira/.github
Andy Grunwald 80c02828ca
feat(project): Add GitHub Actions testing workflow (#289)
GitHub actions is a workflow engine.
This testing workflow will
- keep everything inside GitHub (one platform)
- reduce dependency to an external service (TravisCI)
- introduce stricter testing (next to unit tests, staticcheck, fmt, vet)

* fix(tests): TestIssueService_GetEditMeta_Fail fails on windows due to error message checking

We check the error string in TestIssueService_GetEditMeta_Fail.
On different operting systems, this error message is different. See

- Linux: TestIssueService_GetEditMeta_Fail: metaissue_test.go:456: Error Get "http://127.0.0.1:65328/rest/api/2/issue/PROJ-9001/editmeta": dial tcp 127.0.0.1:65328: connect: connection refused
- Windows: Error Get "http://127.0.0.1:50122/rest/api/2/issue/PROJ-9001/editmeta": dial tcp 127.0.0.1:50122: connectex: No connection could be made because the target machine actively refused it.

Now we check the error type instead of the error message

* chore(tests): Support only the current + the last two versions

go-jira follows Go's Release Policy for testing.
See https://golang.org/doc/devel/release.html#policy

Related #290
2020-05-03 15:45:09 +02:00
..
ISSUE_TEMPLATE improvement: Add ISSUE_TEMPLATES to guide users and contributors (for bugs and feature requests) 2020-04-29 10:59:12 -07:00
workflows feat(project): Add GitHub Actions testing workflow (#289) 2020-05-03 15:45:09 +02:00
PULL_REQUEST_TEMPLATE.md improvement: Request more information in a pull request template 2020-04-29 10:30:48 -07:00