Skip to content

Commit

Permalink
try to run as user
Browse files Browse the repository at this point in the history
  • Loading branch information
samelamin committed Oct 5, 2023
1 parent 3094af1 commit 55d8ee7
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ on:
- "**.md"
env:
CARGO_TERM_COLOR: always
HOME: /home/ubuntu
# HOME: /home/ubuntu
jobs:
create-runner:
runs-on: ubuntu-latest
Expand All @@ -32,12 +32,20 @@ jobs:
disk_size: 400
machine_zone: europe-west3-a
ephemeral: true


- name: install as user
run: ./svc.sh install ubuntu

test-features:
needs: create-runner
runs-on: ${{ needs.create-runner.outputs.label }}
steps:
- uses: actions/checkout@v4

- name: Run tests with benchmarks
run: cargo test --features runtime-benchmarks

- name: Install minimal nightly Rust
uses: actions-rs/toolchain@v1
with:
Expand Down

0 comments on commit 55d8ee7

Please sign in to comment.