Skip to content

Commit

Permalink
chore: add test job at CI
Browse files Browse the repository at this point in the history
  • Loading branch information
YasminTeles committed Mar 8, 2024
1 parent 32de6b3 commit 03a81dd
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 2 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/health-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,9 @@ jobs:
uses: gitleaks/gitleaks-action@v2
env:
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}

Test:
runs-on: ubuntu-latest
steps:
- name: Run install script
run: CI=true /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/YasminTeles/dotfiles/HEAD/install.sh)"
8 changes: 6 additions & 2 deletions install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,12 @@ function step_msg {
}

# -- Get some information -----------------------------------------------------
printf "Please enter some information.\n"
read -p "What is your email? " GIT_EMAIL
if [ "$CI" = true ] ; then
[email protected]
else
printf "Please enter some information.\n"
read -p "What is your email? " GIT_EMAIL
fi

printf "\nPlease wait! It will configure your environment.\n"

Expand Down

0 comments on commit 03a81dd

Please sign in to comment.