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
|
- .stack-work
|
||||||
- /root/.stack
|
- /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:
|
sdist:
|
||||||
docker:
|
docker:
|
||||||
- image: haskell:8.2.2
|
- image: haskell:8.2.2
|
||||||
@ -40,22 +57,15 @@ jobs:
|
|||||||
name: Build sdist
|
name: Build sdist
|
||||||
command: make 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:
|
workflows:
|
||||||
version: 2
|
version: 2
|
||||||
base:
|
base:
|
||||||
jobs:
|
jobs:
|
||||||
- compile
|
- compile
|
||||||
|
- for-github:
|
||||||
|
requires:
|
||||||
|
- doc-test
|
||||||
|
- sdist
|
||||||
- sdist
|
- sdist
|
||||||
- doc-test:
|
- doc-test:
|
||||||
requires:
|
requires:
|
||||||
|
Loading…
Reference in New Issue
Block a user