File tree Expand file tree Collapse file tree 2 files changed +24
-0
lines changed
Expand file tree Collapse file tree 2 files changed +24
-0
lines changed Original file line number Diff line number Diff line change 5555 ${{ runner.os }}-cargo-${{ matrix.rust }}-
5656 ${{ runner.os }}-cargo-
5757
58+ - name : Install cargo-binstall
59+ uses :
cargo-bins/[email protected] 60+
61+ - name : Install sqlx-cli
62+ run : cargo binstall sqlx-cli --features postgres --locked --force
63+
64+ - name : Set up database
65+ run : sqlx database create
66+
67+ - name : Run migrations
68+ run : sqlx migrate run
69+
5870 - name : Run cargo test with all features
5971 run : cargo test --all-features --verbose -- --test-threads=1
6072
Original file line number Diff line number Diff line change 4747 target
4848 key : ${{ runner.os }}-cargo-coverage-${{ hashFiles('**/Cargo.lock') }}
4949
50+ - name : Install cargo-binstall
51+ uses :
cargo-bins/[email protected] 52+
53+ - name : Install sqlx-cli
54+ run : cargo binstall sqlx-cli --features postgres --locked --force
55+
56+ - name : Set up database
57+ run : sqlx database create
58+
59+ - name : Run migrations
60+ run : sqlx migrate run
61+
5062 - name : Generate code coverage
5163 run : cargo tarpaulin --all-features --verbose --workspace --timeout 120 --out xml --test-threads 1
5264
You can’t perform that action at this time.
0 commit comments