CI: Let's try and cache mx-tester installs (#383)

This commit is contained in:
David Teller 2022-10-10 17:17:22 +02:00 committed by GitHub
parent 0379cc45fb
commit 28265cec2e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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