diff options
author | Zhenhui Xie <xiezh0831@126.com> | 2019-09-30 20:10:35 +0800 |
---|---|---|
committer | Matan Kushner <hello@matchai.me> | 2019-09-30 21:10:35 +0900 |
commit | dd0b1a1aa2c36bf2df4db9c11a6517a018ffa100 (patch) | |
tree | e2bb1b1bc6b60cb23848af9c625d21575250ecf0 /tests | |
parent | 9e9eb6a8ef87f7b93dc07e0cf068ccb1a6ce588c (diff) |
refactor: Refactoring config (#383)
This PR refactors config and puts configuration files for all modules in `configs/`.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/Dockerfile | 13 |
1 files changed, 2 insertions, 11 deletions
diff --git a/tests/Dockerfile b/tests/Dockerfile index f7fcae661..9e93f596b 100644 --- a/tests/Dockerfile +++ b/tests/Dockerfile @@ -52,17 +52,8 @@ RUN python --version RUN USER=nonroot cargo new --bin /src/starship WORKDIR /src/starship -# We want dependencies cached, so copy those first -COPY ./Cargo.lock ./Cargo.lock -COPY ./Cargo.toml ./Cargo.toml - -# Cargo.toml will fail to parse without my_benchmark -RUN mkdir benches -RUN touch benches/my_benchmark.rs - -# This is a dummy build to get dependencies cached -RUN cargo build --release \ - && rm -rf src target/debug/starship* +# Copy the whole project +COPY . . # "-Z unstable-options" is required for "--include-ignored" CMD ["cargo", "test", "--", "-Z", "unstable-options", "--include-ignored"] |