CI: Let's try and cache mx-tester installs

This commit is contained in:
David Teller 2022-10-10 12:44:40 +02:00
parent 77ad40e27a
commit c705a37263

View File

@ -43,11 +43,16 @@ jobs:
- uses: actions/setup-node@v3 - uses: actions/setup-node@v3
with: with:
node-version: '16' node-version: '16'
- name: install mx-tester - name: Fetch and build mx-tester (cached across runs)
run: cargo install mx-tester uses: baptiste0928/cargo-install@v1
with:
crate: mx-tester
version: "0.3.3"
- name: Setup image - name: Setup image
run: RUST_LOG=debug mx-tester build up run: RUST_LOG=debug,hyper=info,rusttls=info mx-tester build up
- name: Setup dependencies - name: Setup dependencies
run: yarn install run: yarn install
- name: Run tests - name: Run tests
run: RUST_LOG=debug mx-tester run run: RUST_LOG=debug,hyper=info,rusttls=info mx-tester run
- name: Cleanup
run: mx-tester down