-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ci: add Tiobe TICS nightly workflow with coverage #225
base: master
Are you sure you want to change the base?
Conversation
a928ad2
to
321c836
Compare
BenchmarkResults
Current status
|
571c33f
to
cadf82e
Compare
cadf82e
to
81fd12c
Compare
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.
LGTM
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.
Thank you @claudiubelu!
Two small suggestions. Once addressed please go ahead and merge.
export PYTHONPATH="$(pwd)/test/performance/tests/" | ||
|
||
# TICSQServer will try to build the project. We need a few environment variables | ||
# for it to succeed. Based on make static / "hack/static-dqlite.sh". | ||
export INSTALL_DIR="$(pwd)/hack/.deps/static" | ||
export PATH="${PATH}:${INSTALL_DIR}/musl/bin" | ||
export CC=musl-gcc | ||
export CGO_CFLAGS="-I${INSTALL_DIR}/include" | ||
export CGO_LDFLAGS="-L${INSTALL_DIR}/lib -luv -ldqlite -llz4 -lsqlite3 -Wl,-z,stack-size=1048576" |
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.
A little style suggestion. We could also set the variables under env:
in the step as described here: https://docs.github.com/en/actions/writing-workflows/choosing-what-your-workflow-does/store-information-in-variables#defining-environment-variables-for-a-single-workflow
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 think we can leave this as is. These env vars include other env vars, and the env:
section does not allow for this type of thing, and the result would be worse than the current version, especially for $PATH
.
e5d5636
to
51c27b6
Compare
* add new `go.coverage` Makefile target * add nightly workflow for running TICS scan Signed-off-by: Claudiu Belu <[email protected]> Signed-off-by: Nashwan Azhari <[email protected]> Co-Authored-By: Nashwan Azhari <[email protected]>
51c27b6
to
1df99b4
Compare
Adds TICS nightly scan github action.
go.coverage
Makefile targetBased on: #204
Also verify you have: