Skip to content

Commit

Permalink
Added Codecov uploader.
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexSkrypnyk committed Jan 2, 2024
1 parent 88d37e9 commit 80dfefb
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 0 deletions.
8 changes: 8 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -169,6 +169,14 @@ RUN curl -L -o "/usr/local/bin/ahoy" "https://github.com/ahoy-cli/ahoy/releases/
ENV TASK_VERSION=3.33.1
RUN sh -c "$(curl --location https://taskfile.dev/install.sh)" -- -b /usr/local/bin "v$TASK_VERSION"

# Install Codecov reporter.
# @see https://github.com/codecov/uploader/releases
# renovate: datasource=github-releases depName=codecov/uploader extractVersion=^v(?<version>.*)$
ENV CODECOV_VERSION=0.7.1
RUN curl -L -o "/usr/local/bin/codecov" "https://github.com/codecov/uploader/releases/download/v${CODECOV_VERSION}/codecov-linux" \
&& chmod +x /usr/local/bin/codecov \
&& codecov --version

# Install a stub for pygmy.
# Some frameworks may require presence of tools that are not required in CI container.
RUN ln -s /usr/bin/true /usr/local/bin/pygmy \
Expand Down
7 changes: 7 additions & 0 deletions goss.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,13 @@ command:
stderr: []
timeout: 10000

which codecov:
exit-status: 0
stdout:
- /usr/local/bin/codecov
stderr: []
timeout: 10000

which composer:
exit-status: 0
stdout:
Expand Down
1 change: 1 addition & 0 deletions versions.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ commands=(
"aspell --version"
"bats --version"
"composer --version"
"codecov --version"
"curl --version"
"docker --version"
"docker buildx version"
Expand Down

0 comments on commit 80dfefb

Please sign in to comment.