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

chore: homestar-core => homestar-invocation/homestar-workflow #506

Merged
merged 12 commits into from
Jan 18, 2024
Merged
Show file tree
Hide file tree
Changes from 10 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions .envrc
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
use_flake

export RUST_LOG=homestar=debug,homestar_runtime=debug,homestar_wasm=debug,wasi_common=info,libp2p=info,libp2p_gossipsub::behaviour=debug,tarpc=info,tower_http=debug,jsonrpsee_server=debug,moka=debug
export RUST_LOG=homestar=debug,homestar_runtime=debug,homestar_wasm=debug,libp2p=info,libp2p_gossipsub::behaviour=debug,tarpc=info,tower_http=debug,jsonrpsee_server=debug,moka=debug
export RUST_BACKTRACE=full
export RUSTFLAGS="--cfg tokio_unstable"
27 changes: 27 additions & 0 deletions .github/workflows/tests_and_checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -253,6 +253,33 @@ jobs:
if: ${{ matrix.default-features == 'all' }}
run: cargo test --doc --workspace

run-cargo-tests:
needs: changes
if: ${{ needs.changes.outputs.rust == 'true' }}
runs-on: ubuntu-latest
steps:
- name: Setup IPFS
uses: ibnesayeed/setup-ipfs@master
with:
run_daemon: false

- name: Checkout Repository
uses: actions/checkout@v4

- name: Install Rust Toolchain
id: toolchain
uses: dtolnay/rust-toolchain@stable

- name: Cache Project
uses: Swatinem/rust-cache@v2
with:
cache-on-failure: true
shared-key: test-all-stable-ubuntu-latest
save-if: ${{ github.event_name == 'push' }}

- name: Run Tests (all-features)
run: cargo test --workspace --all-features

run-docs:
needs: changes
if: ${{ needs.changes.outputs.rust == 'true' }}
Expand Down
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,9 @@ private
homestar-functions/**/out
homestar-functions/out
homestar-wasm/out
homestar-core/fixtures/test_*
homestar-invocation/test_*
homestar-runtime/fixtures/test_*
homestar-workflow/fixtures/test_*
.zed
result-alejandra
report.json
Expand Down
4 changes: 1 addition & 3 deletions .ignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,12 @@ codecov.yml
LICENSE
*.nix
*.md

.envrc
.dockerignore
.gitignore
.release-please-manifest.json
.pre-commit-config.yaml

**/fixtures
*test_*.json
*.ipfs*
*.db

Expand Down
Loading
Loading