Skip to content

Commit

Permalink
Fix all corelib tests, use corelib in CI (#622)
Browse files Browse the repository at this point in the history
* apply missed fixes

* update readme

* implement coupons

* implement const non zero too

* fix conflict2

* fix trait impl

* test against corelib instead now

* fix tests

* ci logging

* dont cancel workflow

* try updating apt

* .

* use rust 1.78 in ci

* fix

* fix

* a

* try

* fix

* fix

* try

* align

* add comment

* fix coverage makefile

---------

Co-authored-by: Iñaki Garay <[email protected]>
Co-authored-by: Julián González Calderón <[email protected]>
  • Loading branch information
3 people authored Jun 4, 2024
1 parent 5c70d36 commit 5050e95
Show file tree
Hide file tree
Showing 29 changed files with 189 additions and 3,473 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ test: check-llvm needs-cairo2 build-alexandria runtime-ci
cargo test --profile ci --all-features

test-cairo: check-llvm needs-cairo2 build-alexandria runtime-ci
cargo r --profile ci --bin cairo-native-test -- cairo-tests/
cargo r --profile ci --bin cairo-native-test -- corelib

proptest: check-llvm needs-cairo2 runtime-ci
cargo test --profile ci --all-features proptest
Expand All @@ -69,7 +69,7 @@ proptest-ci: check-llvm needs-cairo2 runtime-ci

coverage: check-llvm needs-cairo2 build-alexandria runtime-ci
cargo llvm-cov --verbose --profile ci --all-features --workspace --lcov --output-path lcov.info
cargo llvm-cov --verbose --profile ci --all-features --lcov --output-path lcov-test.info run --bin cairo-native-test -- cairo-tests
cargo llvm-cov --verbose --profile ci --all-features --lcov --output-path lcov-test.info run --bin cairo-native-test -- corelib

doc: check-llvm
cargo doc --all-features --no-deps --workspace
Expand Down
3 changes: 0 additions & 3 deletions cairo-tests/README.md

This file was deleted.

2 changes: 0 additions & 2 deletions cairo-tests/cairo_project.toml

This file was deleted.

145 changes: 0 additions & 145 deletions cairo-tests/src/array_test.cairo

This file was deleted.

29 changes: 0 additions & 29 deletions cairo-tests/src/bool_test.cairo

This file was deleted.

22 changes: 0 additions & 22 deletions cairo-tests/src/box_test.cairo

This file was deleted.

Loading

0 comments on commit 5050e95

Please sign in to comment.