Page MenuHomePhabricator

[ci] Add specific packages to run when calling cargo test
ClosedPublic

Authored by hazzarust on Mon, Jan 27, 15:53.

Details

Reviewers
Fabien
Group Reviewers
Restricted Owners Package(Owns No Changed Paths)
Restricted Project
Commits
rABC78fba5d584cd: [ci] Add specific packages to run when calling cargo test
Summary

Moving Cargo.lock to the root means that every time cargo test is ran by the CI, it will test every single test file within
the workspace. By adding the -p flag to the CI instructions, it ensures only specified tests are ran when the CI calls cargo test.

Test Plan

UNIX: python3 contrib/teamcity/build-configurations.py build-explorer; python3 contrib/teamcity/build-configurations.py build-bitcoinsuite-chronik-client

Diff Detail

Repository
rABC Bitcoin ABC
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

Owners added a reviewer: Restricted Owners Package.Mon, Jan 27, 15:53
Fabien retitled this revision from [build-configurations] Add specific packages to run when calling cargo test to [ci] Add specific packages to run when calling cargo test.Mon, Jan 27, 15:59
This revision is now accepted and ready to land.Mon, Jan 27, 16:10