mirror of
https://github.com/typeable/rollbar-hs.git
synced 2024-09-11 05:35:27 +03:00
Add a command for GitHub status
We want a check that the build succeeded on GitHub. Unfortunately, circleci doesn't give us a final result from a workflow. We hack around it by making one job that does nothing really. Hopefully they can provide a better interface for this in the future.
This commit is contained in:
parent
b968bb53a4
commit
eb81172391
@ -25,6 +25,23 @@ jobs:
|
||||
- .stack-work
|
||||
- /root/.stack
|
||||
|
||||
doc-test:
|
||||
docker:
|
||||
- image: haskell:8.2.2
|
||||
steps:
|
||||
- checkout
|
||||
- attach_workspace:
|
||||
at: .
|
||||
- run:
|
||||
name: Doc test
|
||||
command: make test-doc-test
|
||||
|
||||
for-github:
|
||||
docker:
|
||||
- image: alpine
|
||||
steps:
|
||||
- command: echo passed
|
||||
|
||||
sdist:
|
||||
docker:
|
||||
- image: haskell:8.2.2
|
||||
@ -40,22 +57,15 @@ jobs:
|
||||
name: Build sdist
|
||||
command: make sdist
|
||||
|
||||
doc-test:
|
||||
docker:
|
||||
- image: haskell:8.2.2
|
||||
steps:
|
||||
- checkout
|
||||
- attach_workspace:
|
||||
at: .
|
||||
- run:
|
||||
name: Doc test
|
||||
command: make test-doc-test
|
||||
|
||||
workflows:
|
||||
version: 2
|
||||
base:
|
||||
jobs:
|
||||
- compile
|
||||
- for-github:
|
||||
requires:
|
||||
- doc-test
|
||||
- sdist
|
||||
- sdist
|
||||
- doc-test:
|
||||
requires:
|
||||
|
Loading…
Reference in New Issue
Block a user