-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #3 from mash-up-kr/feature/테스트-workflow-구현
Feature/테스트 workflow 구현
- Loading branch information
Showing
4 changed files
with
72 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
# What is this PR? 🔍 | ||
|
||
## **이슈** | ||
## 이슈 | ||
|
||
## **설명** | ||
## 설명 | ||
|
||
|
||
# Changes 📝 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
# .github/workflows/my-project.yml | ||
name: PPAC | ||
|
||
on: | ||
pull_request: | ||
branches: [ develop ] | ||
|
||
jobs: | ||
build: | ||
name: test action | ||
runs-on: macos-13 | ||
steps: | ||
- uses: actions/checkout@v3 | ||
|
||
# - uses: maxim-lobanov/setup-xcode@v1 | ||
# with: | ||
# xcode-version: '15.4' | ||
|
||
- name: Access Available | ||
run: chmod +x Scripts/onboarding.sh | ||
|
||
- name: Install Setup Script and Fetch Dependencies | ||
run: ./Scripts/onboarding.sh | ||
|
||
- name: Source bashrc | ||
shell: bash -l {0} | ||
run: source ~/.bashrc && mise doctor | ||
|
||
- name: Install tuist | ||
shell: bash -l {0} | ||
run: mise install | ||
|
||
- name: Install dependencies | ||
shell: bash -l {0} | ||
run: mise exec -- tuist install | ||
|
||
- name: Build and Test | ||
shell: bash -l {0} | ||
run: mise exec -- tuist test PPACIOS-Workspace |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
#!/bin/bash | ||
|
||
# Install mise | ||
curl https://mise.run | sh | ||
|
||
# Check mise version | ||
~/.local/bin/mise --version | ||
|
||
# Set up mise environment for bash | ||
echo 'eval "$(~/.local/bin/mise activate bash)"' >> ~/.bashrc | ||
|
||
# Ensure the mise environment is set up for the current session | ||
eval "$(~/.local/bin/mise activate bash)" | ||
|
||
# Set up PATH for mise | ||
echo 'export PATH="$HOME/.local/share/mise/shims:$PATH"' >> ~/.bash_profile | ||
|
||
# Ensure PATH is set up for the current session | ||
export PATH="$HOME/.local/share/mise/shims:$PATH" | ||
|
||
# Uncomment and set up for zsh if needed | ||
# echo 'eval "$(~/.local/bin/mise activate zsh)"' >> ~/.zshrc | ||
# echo 'export PATH="$HOME/.local/share/mise/shims:$PATH"' >> ~/.zprofile | ||
# if ! grep -q 'eval "$(~/.local/bin/mise activate zsh)"' ~/.zshrc; then | ||
# echo 'eval "$(~/.local/bin/mise activate zsh)"' >> ~/.zshrc | ||
# fi |