-
Notifications
You must be signed in to change notification settings - Fork 206
CI improvements #1031
CI improvements #1031
Conversation
Remove extraneous submodules and testdata cabal files (At the time of this was added there were no submodules so I presume invalidating the cache on submodule cabal file changes is unintentional) Also sort the files so it is deterministic
stack-8.2.1.yaml
Outdated
- syz-0.2.0.0 | ||
- yaml-0.8.32 | ||
- github: LeastAuthority/hspec-jenkins | ||
commit: e5ad80f176779c99fc6a8c044afc2f89ceb43103 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should be a submodule, so we don't have to tweak every single config file for it. That is why we do the others that way.
This looks great, I have been wanting to have the junit output for a long time. Sort out the submodule and it can merge. |
The tags differ for 8.2.x though since the master branch has some incompatible changes with whatever version hspec is pinned to. Is there a way to go about this with submodules too?
Alternatively we could just get rid of the package and incorporate the formatter into the testutils module since it’s very small.
… On 8 Jan 2019, at 01:48, Alan Zimmerman ***@***.***> wrote:
@alanz commented on this pull request.
In stack-8.2.1.yaml:
> @@ -27,6 +27,8 @@ extra-deps:
- sorted-list-0.2.1.0
- syz-0.2.0.0
- yaml-0.8.32
+- github: LeastAuthority/hspec-jenkins
+ commit: e5ad80f176779c99fc6a8c044afc2f89ceb43103
This should be a submodule, so we don't have to tweak every single config file for it. That is why we do the others that way.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks good to me, other than the comments Alan added
, "flags: {}" | ||
, "extra-package-dbs: []" | ||
] | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If the block below originated elsewhere, provide details/credit.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I had added an attribution to the fork at xmlFormatter
, is this enough?
haskell-ide-engine/test/utils/TestUtils.hs
Lines 223 to 227 in fb686fa
-- | A Hspec formatter for CircleCI. | |
-- Originally from https://github.com/LeastAuthority/hspec-jenkins | |
xmlFormatter :: Formatter | |
xmlFormatter = silent { | |
headerFormatter = do |
cabal.project
Outdated
source-repository-package | ||
type: git | ||
location: https://github.com/LeastAuthority/hspec-jenkins | ||
tag: 2899766bbd36216b81b1719423a5c2443458ae06 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I presume this is no longer needed?
LGTM, merge when CI passes |
all-cabal.txt
file changed every build so every job was redundantly saving the cache at the endcat
ing soall-cabal.txt
file is now deterministic~/.hoogle
~/.hoogle
doesn't existA complete build on CircleCI now takes about ~20 minutes!