Skip to content

Commit

Permalink
ci: Remove unused java testsuite (starship#445)
Browse files Browse the repository at this point in the history
  • Loading branch information
andytom authored and matchai committed Sep 30, 2019
1 parent 0eafb2b commit d335abc
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 48 deletions.
5 changes: 0 additions & 5 deletions .github/workflows/continuous-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,11 +71,6 @@ jobs:
with:
python-version: "3.6.9"

# Install Java at a fixed version
- uses: actions/setup-java@master
with:
java-version: '12.0.2'

# Run the ignored tests that expect the above setup
- uses: actions/checkout@master
- name: Run all tests
Expand Down
16 changes: 0 additions & 16 deletions tests/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -48,22 +48,6 @@ RUN curl https://pyenv.run | bash \
# Check that Python was correctly installed
RUN python --version

# Install Java.
ENV JAVA_HOME /home/nonroot/java
ENV PATH $JAVA_HOME/bin:$PATH
ENV JAVA_URL https://download.java.net/java/GA/jdk12.0.2/e482c34c86bd4bf8b56c0b35558996b9/10/GPL/openjdk-12.0.2_linux-x64_bin.tar.gz

RUN mkdir -p "$JAVA_HOME"
RUN set -eux; \
curl -fL -o $JAVA_HOME/openjdk.tgz "$JAVA_URL"; \
tar --extract \
--file $JAVA_HOME/openjdk.tgz \
--directory "$JAVA_HOME" \
--strip-components 1 \
--no-same-owner

RUN java -version && javac -version

# Create blank project
RUN USER=nonroot cargo new --bin /src/starship
WORKDIR /src/starship
Expand Down
26 changes: 0 additions & 26 deletions tests/testsuite/java.rs

This file was deleted.

1 change: 0 additions & 1 deletion tests/testsuite/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ mod git_state;
mod git_status;
mod golang;
mod hostname;
mod java;
mod jobs;
mod line_break;
mod modules;
Expand Down

0 comments on commit d335abc

Please sign in to comment.