-
Notifications
You must be signed in to change notification settings - Fork 285
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
make CI faster, more timeouts sooner #601
Conversation
ad116f2
to
fc93a88
Compare
2605ef0
to
8408f10
Compare
|
||
- name: reconfigure with Wasm in WasmEdge mode | ||
run: make clean && ./configure --enable-wasm-runtime-wasmedge | ||
|
||
- name: Run tests | ||
run: make test | ||
|
||
- name: Run tests with Wasm | ||
run: make rusttestwasm |
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.
why is this going?
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 talked with @psarna this morning, we don't need wasmedge right now and the first pass covers enough for all our C code. We were duplicating a lot of work.
name: Makefile CI | ||
|
||
on: | ||
push: | ||
branches: [ "main" ] | ||
pull_request: | ||
merge_group: | ||
branches: [ "main" ] | ||
|
||
jobs: | ||
maketest: | ||
|
||
runs-on: ubuntu-latest | ||
defaults: | ||
run: | ||
working-directory: ./libsql-sqlite3 | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
|
||
- name: get TCL | ||
run: sudo apt-get install -y tcl8.6-dev | ||
|
||
- name: Install Protoc | ||
uses: arduino/setup-protoc@v2 | ||
|
||
- name: Install Wasmpack | ||
uses: jetli/[email protected] | ||
with: | ||
version: 'latest' | ||
|
||
- name: configure | ||
run: ./configure | ||
|
||
- name: Run tests | ||
run: make test | ||
|
||
# Rust tests are run under maketestwasm | ||
|
||
- name: Run API tests | ||
run: make testlibsql |
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.
why is this going as well?
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.
Yup as I said above, a lot of our make tests did a lot of the same so if we just do it with + wasm then it covers basically everything. This was after a chat with @psarna.
libsql-sqlite3
directory.cargo nextest
to catch timeout tests so we don't get 3h+ CI jobs