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

Run simtest code coverage without --config flags #16134

Merged
merged 3 commits into from
Feb 8, 2024
Merged

Conversation

mystenmark
Copy link
Contributor

No description provided.

Copy link

vercel bot commented Feb 7, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
sui-core ✅ Ready (Inspect) Visit Preview 💬 Add feedback Feb 8, 2024 0:26am
sui-typescript-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Feb 8, 2024 0:26am
4 Ignored Deployments
Name Status Preview Comments Updated (UTC)
explorer ⬜️ Ignored (Inspect) Visit Preview Feb 8, 2024 0:26am
multisig-toolkit ⬜️ Ignored (Inspect) Visit Preview Feb 8, 2024 0:26am
mysten-ui ⬜️ Ignored (Inspect) Visit Preview Feb 8, 2024 0:26am
sui-kiosk ⬜️ Ignored (Inspect) Visit Preview Feb 8, 2024 0:26am

# SPDX-License-Identifier: Apache-2.0

# verify that git repo is clean
if [[ -n $(git status -s) ]]; then
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@mystenmark, why do we need this? This workflow is going to be run on ubuntu-ghcloud GH runner. So there should never be the case when repo is not clean

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

someone could run the script locally (e.g. to test it) and it could clobber local files

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@mystenmark

  ./scripts/simtest/codecov.sh
  shell: /usr/bin/bash -e {0}
  env:
    CARGO_TERM_COLOR: always
    CARGO_INCREMENTAL: 0
    CARGO_NET_RETRY: 10
    RUSTUP_MAX_RETRIES: 10
    RUST_BACKTRACE: short
    RUSTDOCFLAGS: -D warnings
    CACHE_ON_FAILURE: false
Working directory is not clean. Please commit all changes before running this script.  ./scripts/simtest/codecov.sh
  shell: /usr/bin/bash -e {0}
  env:
    CARGO_TERM_COLOR: always
    CARGO_INCREMENTAL: 0
    CARGO_NET_RETRY: 10
    RUSTUP_MAX_RETRIES: 10
    RUST_BACKTRACE: short
    RUSTDOCFLAGS: -D warnings
    CACHE_ON_FAILURE: false
Working directory is not clean. Please commit all changes before running this script.

Is what I was afraid of when this script gets run. I feel like these are two different cases here

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