Skip to content

INCOMPLETE DEMO - DO NOT MERGE: Split up CI tasks and unify test scripts#2343

Closed
Kixunil wants to merge 2 commits intorust-bitcoin:masterfrom
Kixunil:ci-test/split-up
Closed

INCOMPLETE DEMO - DO NOT MERGE: Split up CI tasks and unify test scripts#2343
Kixunil wants to merge 2 commits intorust-bitcoin:masterfrom
Kixunil:ci-test/split-up

Conversation

@Kixunil
Copy link
Copy Markdown
Collaborator

@Kixunil Kixunil commented Jan 16, 2024

I started doing this and then I found Tobin is doing the same thing, so
I stopped. This is INCOMPLETE and UNTESTED. Things that I would do if I
continued:

  • Delete contrib/*/test.sh
  • Add contrib/*/test_vars.sh
  • Test and fix any outstanding bugs

This was originally related to coverate which we don't do now.
@Kixunil Kixunil mentioned this pull request Jan 16, 2024
@Kixunil Kixunil force-pushed the ci-test/split-up branch 9 times, most recently from ebfefb4 to aa5ff6a Compare January 16, 2024 10:23
I started doing this and then I found Tobin is doing the same thing, so
I stopped. This is INCOMPLETE and UNTESTED. Things that I would do if I
continued:

* Delete `contrib/*/test.sh`
* Add `contrib/*/test_vars.sh`
* Test and fix any outstanding bugs
@Kixunil
Copy link
Copy Markdown
Collaborator Author

Kixunil commented Jan 16, 2024

I've fixed at least the Prepare job which is the hard part so that a working solution to generate the matrix can be demonstrated.

@tcharding
Copy link
Copy Markdown
Member

Legend, thanks - leave it with me.

@Kixunil
Copy link
Copy Markdown
Collaborator Author

Kixunil commented Jan 16, 2024

Forgot to point out that this implements single source of truth for crates, so no more adding of new crates to a bunch of places. (IME SSOT is super-important in programming.)

@tcharding
Copy link
Copy Markdown
Member

I agree wholeheartedly, except on the name, I always call it Single Point Of Truth (SPOT) :)

@tcharding tcharding mentioned this pull request Jan 18, 2024
@tcharding
Copy link
Copy Markdown
Member

Closing in favour of #2353

@tcharding tcharding closed this Jan 23, 2024
@Kixunil Kixunil deleted the ci-test/split-up branch January 23, 2024 07:28
apoelstra added a commit that referenced this pull request Feb 2, 2024
01a66a7 CI: Check for required commands (Tobin C. Harding)
5c15ed5 CI: Epic overhaul (Martin Habovstiak)
242aa67 Use env bash instead of /bin/bash (Tobin C. Harding)
422d301 Use bash to run shell scripts (Tobin C. Harding)

Pull request description:

  The combination of some work by myself [0] and Kix [1].

  Draft so I can use github's infrastructure to test it all out.

  Includes some patches at the front to fix real issues that the new test infrastructure found - WIN.

  [0] #2328
  [1] #2343

  Coincidentally this closes 1124

  Resolve: #1124

ACKs for top commit:
  apoelstra:
    ACK 01a66a7

Tree-SHA512: 026a0948a181102246702eadc3ff245c319c456b03ada9ca269141d006146f30fd8eb50377062735a06c3e369f7edac2e334587120338a3747810d999177d930
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants