Skip to content
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: split tests workflow into two and refactor them #351

Merged
merged 9 commits into from
Mar 27, 2024

Conversation

170210
Copy link
Contributor

@170210 170210 commented Mar 7, 2024

Description

This PR refactor tests workflow, in order to fix problem like: https://github.com/Finschia/cosmwasm/actions/runs/8165890934

This PR changed following:

  • split tests workflow into two
  • use matrix strategy to make contract test more clearly
  • add missing ci tests for floaty and cyberpunk
  • add document test for each contract in CI via cargo test --doc
  • use cargo test --test integration in CI

Types of changes

  • Bug fix (changes which fixes an issue)
  • New feature (changes which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • ETC (build, ci, docs, perf, refactor, style, test)

Checklist

@170210 170210 self-assigned this Mar 7, 2024
@170210 170210 requested a review from loloicci March 7, 2024 09:35
@170210 170210 requested a review from loloicci March 8, 2024 04:12
@170210 170210 requested review from loloicci and ulbqb March 11, 2024 09:09
@170210 170210 merged commit c3e7e12 into Finschia:dynamic_link Mar 27, 2024
31 checks passed
170210 added a commit to 170210/cosmwasm that referenced this pull request Mar 27, 2024
* ci: split tests workflow into two and refactor them

Signed-off-by: 170210 <[email protected]>

* ci: add document test for each contract

Signed-off-by: 170210 <[email protected]>

* ci: update cache action version

Signed-off-by: 170210 <[email protected]>

* chore: typo error

Signed-off-by: 170210 <[email protected]>

* ci: use test --doc instead of doc-test config

Signed-off-by: 170210 <[email protected]>

* ci: use cargo test --test integration instead of config

Signed-off-by: 170210 <[email protected]>

* chore: typo error (fix for comment)

Signed-off-by: 170210 <[email protected]>

* chore: delete unnecessary env parameter

Signed-off-by: 170210 <[email protected]>

* fixup: fix for comment

Signed-off-by: 170210 <[email protected]>

---------

Signed-off-by: 170210 <[email protected]>
170210 added a commit that referenced this pull request Apr 11, 2024
* ci: split tests workflow into two and refactor them  (#351)

* ci: split tests workflow into two and refactor them

Signed-off-by: 170210 <[email protected]>

* ci: add document test for each contract

Signed-off-by: 170210 <[email protected]>

* ci: update cache action version

Signed-off-by: 170210 <[email protected]>

* chore: typo error

Signed-off-by: 170210 <[email protected]>

* ci: use test --doc instead of doc-test config

Signed-off-by: 170210 <[email protected]>

* ci: use cargo test --test integration instead of config

Signed-off-by: 170210 <[email protected]>

* chore: typo error (fix for comment)

Signed-off-by: 170210 <[email protected]>

* chore: delete unnecessary env parameter

Signed-off-by: 170210 <[email protected]>

* fixup: fix for comment

Signed-off-by: 170210 <[email protected]>

---------

Signed-off-by: 170210 <[email protected]>

* fix: update schema in cyberpunk contract

Signed-off-by: 170210 <[email protected]>

---------

Signed-off-by: 170210 <[email protected]>
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.

3 participants