Skip to content

Commit

Permalink
build: adding working directory
Browse files Browse the repository at this point in the history
  • Loading branch information
DeveloperC286 committed Mar 30, 2024
1 parent 91107bc commit c3a84dd
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion Earthfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ COPY_METADATA:

rust-base:
FROM rust:1.70.0
WORKDIR "/zsh-simple-abbreviations"


check-clean-git-history:
Expand All @@ -31,6 +32,7 @@ golang-base:
ENV CGO_ENABLED=0
ENV GOOS=linux
ENV GOARCH=amd64
WORKDIR "/zsh-simple-abbreviations"


shell-formatting-base:
Expand Down Expand Up @@ -85,6 +87,7 @@ check-shell-linting:
# https://askubuntu.com/questions/462690/what-does-apt-get-fix-missing-do-and-when-is-it-useful
RUN apt-get update --fix-missing
RUN apt-get install shellcheck -y
WORKDIR "/zsh-simple-abbreviations"
DO +COPY_SOURCECODE
RUN ./ci/check-shell-linting.sh

Expand Down Expand Up @@ -123,10 +126,11 @@ e2e-test:

e2e-test-base:
FROM python:3.9.18
DO +COPY_SOURCECODE
# https://askubuntu.com/questions/462690/what-does-apt-get-fix-missing-do-and-when-is-it-useful
RUN apt-get update --fix-missing
RUN apt-get install zsh -y
WORKDIR "/zsh-simple-abbreviations"
DO +COPY_SOURCECODE
RUN pip3 install -r end-to-end-tests/requirements.txt


Expand Down

0 comments on commit c3a84dd

Please sign in to comment.