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

refactor: massive jump toward a legit homestar runtime #133

Merged
merged 1 commit into from
May 19, 2023
Merged
Show file tree
Hide file tree
Changes from all 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
4 changes: 2 additions & 2 deletions .envrc
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
use_flake

export RUST_LOG=homestar=debug,sqlx=warn,atuin_client=warn,libp2p=debug
export RUST_BACKTRACE=1
export RUST_LOG=homestar_runtime=debug,atuin_client=warn,libp2p=info
export RUST_BACKTRACE=full
39 changes: 38 additions & 1 deletion .github/workflows/tests_and_checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ jobs:
if: ${{ matrix.rust-toolchain == 'stable' && github.event_name == 'push' }}
run: cargo build --release

run-tests:
run-tests-all-features:
runs-on: ubuntu-latest
strategy:
fail-fast: false
Expand Down Expand Up @@ -112,3 +112,40 @@ jobs:

- name: Run Tests
run: cargo test --all-features

- name: Run Tests
run: cargo test --no-default-features

run-tests-no-default-features:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
rust-toolchain:
- stable
- nightly
steps:
- name: Install Protoc
uses: arduino/setup-protoc@v1
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}

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

- name: Install Environment Packages
run: |
sudo apt-get update -qqy
sudo apt-get install jq
- name: Cache Project
uses: Swatinem/rust-cache@v2

- name: Install Rust Toolchain
uses: actions-rs/toolchain@v1
with:
override: true
toolchain: ${{ matrix.rust-toolchain }}

- name: Run Tests
run: cargo test --no-default-features
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,12 @@ private
*.temp
*.db
*.tmp
*.png
*.dot
.history
.DS_Store
homestar-guest-wasm/out
homestar-wasm/out

# locks
homestar-wasm/Cargo.lock
Loading