Git-native issue tracking tool
git issue
Something went wrong. Try again.
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467name: CI Tests
on: push: branches: - main pull_request: branches: - main workflow_dispatch:
jobs: test-ubuntu: runs-on: ubuntu-latest
steps: - name: Checkout uses: actions/checkout@v4
- name: Clone to compare directory run: | mkdir -p git-pad-test git clone https://x-access-token:${{ secrets.GITHUB_TOKEN }}@github.com/${{ github.repository }} ./git-pad-test/R1 git clone --bare https://x-access-token:${{ secrets.GITHUB_TOKEN }}@github.com/${{ github.repository }} ./git-pad-test/bare1.git - name: install script id : install shell: bash run: bash install.sh; bash get_rc.sh; cat $(bash get_rc.sh)
- name: Run tests id: tests #continue-on-error: true run: | PATH=$PATH:$PWD #bash install.sh #bash get_rc.sh; cat $(bash get_rc.sh)
cd git-pad-test && echo "git-pad-test"
git config --global user.email "kwhkim@gha" git config --global user.name "kwhkim"
cd R1 && echo "R1"
bash test_completion.bash
git pad list || true git pad status || true git pad remote || true git pad track || true
git pad init --no-clone git pad new --title="first issue" --body="This is for testing" git pad new --title="second issue" --body="This is second issue"
git pad status git pad commit -m "R1 first commit"
git pad list git pad new --title="third issue" --body="This is the third" git pad status git pad commit -m "R1 second commit"
git remote add local ../bare1.git git pad track local git pad push local
cd ..
if [ ! -d R2 ]; then git clone bare1.git R2; fi cd R2 && echo R2 git pad clone git pad list git pad status
git pad new --title="4th issue" --body="This is 4th" --type="announcement" --priority="P1" git pad new --title="5th issue" --body="This happens when ..." --type="bug" --priority="P1" git pad commit -m "R2 issue number 4 and 5"
git pad push cd ..
if [ ! -d R3 ]; then git clone bare1.git R3; fi cd R3 && echo R3
git pad init --clone git pad list git pad status git pad pull
pwd cd ..
if [ ! -d R4 ]; then git clone bare1.git R4; fi
if [ ! -d R5 ]; then git clone bare1.git R5; fi
pwd cd R5 && git pad init --clone && cd ..
pwd cd R4 git pad clone
id=$(git pad list | awk '{print $1}' | grep -v ID | head -1) git pad comment "$id" -m "Looks good. keep it up"
git pad new --title="6th issue" --body="This is 6th" --type="announcement" --priority="P2" git pad commit -m "R4 commit 1" git pad new --title="7th issue" --body="This happens when ..." --type="bug" --priority="P2" git pad commit -m "R4 commit 2"
git pad push cd ..
cd R3 pwd git pad pull cd ..
cd R5 pwd
git pad new --title="6th another issue" --body="This is 6th" --type="announcement" --priority="P2" git pad commit -m "R5 commit 1b" git pad new --title="7th another issue" --body="This happens when ..." --type="bug" --priority="P2" git pad commit -m "R5 commit 2b"
id=$(git pad list | awk '{print $1}' | grep -v ID | head -1) git pad comment "$id" -m "Let's get rolling."
git pad push || true git pad pull git pad list
cd -
if [ ! -d R6 ]; then git clone bare1.git R6; fi
- name: Upload test artifacts uses: actions/upload-artifact@v4 with: name: test-output-ubuntu path: git-pad-test/artifacts/
- name: Fail if tests failed if: steps.tests.outcome == 'failure' run: exit 1
test-macos: runs-on: macos-latest
steps: - name: Checkout uses: actions/checkout@v4
- name: Clone to compare directory run: | mkdir -p git-pad-test git clone https://x-access-token:${{ secrets.GITHUB_TOKEN }}@github.com/${{ github.repository }} ./git-pad-test/R1 git clone --bare https://x-access-token:${{ secrets.GITHUB_TOKEN }}@github.com/${{ github.repository }} ./git-pad-test/bare1.git
# - name: Run tests # id: tests # continue-on-error: true # run: | # PATH=$PATH:$PWD # mkdir -p git-pad-test # mkdir -p git-pad-test/artifacts # echo "Running tests..." # cd git-pad-test # #./run_gh_tests.sh > artifacts/test.log 2>&1 # bash -x ../run_test_issues.sh > artifacts/run_test_issues.log 2>&1
- name: install script id : install shell: bash run: bash install.sh; bash get_rc.sh; cat $(bash get_rc.sh)
- name: Run tests id: tests #continue-on-error: true run: | PATH=$PATH:$PWD #bash install.sh #bash get_rc.sh; cat $(bash get_rc.sh)
cd git-pad-test && echo "git-pad-test"
git config --global user.email "kwhkim@gha" git config --global user.name "kwhkim"
cd R1 && echo "R1"
git pad list || true git pad status || true git pad remote || true git pad track || true
git pad init --no-clone git pad new --title="first issue" --body="This is for testing" git pad new --title="second issue" --body="This is second issue"
git pad status git pad commit -m "R1 first commit"
git pad list git pad new --title="third issue" --body="This is the third" git pad status git pad commit -m "R1 second commit"
git remote add local ../bare1.git git pad track local git pad push local
cd ..
if [ ! -d R2 ]; then git clone bare1.git R2; fi cd R2 && echo R2 git pad clone git pad list git pad status
git pad new --title="4th issue" --body="This is 4th" --type="announcement" --priority="P1" git pad new --title="5th issue" --body="This happens when ..." --type="bug" --priority="P1" git pad commit -m "R2 issue number 4 and 5"
git pad push cd ..
if [ ! -d R3 ]; then git clone bare1.git R3; fi cd R3 && echo R3
git pad init --clone git pad list git pad status git pad pull
pwd cd ..
if [ ! -d R4 ]; then git clone bare1.git R4; fi
if [ ! -d R5 ]; then git clone bare1.git R5; fi
pwd cd R5 && git pad init --clone && cd ..
pwd cd R4 git pad clone
id=$(git pad list | awk '{print $1}' | grep -v ID | head -1) git pad comment "$id" -m "Looks good. keep it up"
git pad new --title="6th issue" --body="This is 6th" --type="announcement" --priority="P2" git pad commit -m "R4 commit 1" git pad new --title="7th issue" --body="This happens when ..." --type="bug" --priority="P2" git pad commit -m "R4 commit 2"
git pad push cd ..
cd R3 pwd git pad pull cd ..
cd R5 pwd
git pad new --title="6th another issue" --body="This is 6th" --type="announcement" --priority="P2" git pad commit -m "R5 commit 1b" git pad new --title="7th another issue" --body="This happens when ..." --type="bug" --priority="P2" git pad commit -m "R5 commit 2b"
id=$(git pad list | awk '{print $1}' | grep -v ID | head -1) git pad comment "$id" -m "Let's get rolling."
git pad push || true git pad pull git pad list
cd -
if [ ! -d R6 ]; then git clone bare1.git R6; fi
- name: Upload test artifacts uses: actions/upload-artifact@v4 with: name: test-output-macos path: artifacts/
- name: Fail if tests failed if: steps.tests.outcome == 'failure' run: exit 1
test-windows: runs-on: windows-latest
steps: - name: Checkout uses: actions/checkout@v4
- name: Clone to compare directory run: | mkdir -p git-pad-test git clone https://x-access-token:${{ secrets.GITHUB_TOKEN }}@github.com/${{ github.repository }} ./git-pad-test/R1 git clone --bare https://x-access-token:${{ secrets.GITHUB_TOKEN }}@github.com/${{ github.repository }} ./git-pad-test/bare1.git
- name: Show shell info shell: bash run: | mkdir -p artifacts { echo "Shell: $SHELL" uname -a which bash pwd ls -la } > artifacts/test_shell.txt 2>&1
# - name: Run tests # id: tests # shell: bash # continue-on-error: true # run: | # PATH=$PATH:$PWD # mkdir -p git-pad-test # mkdir -p git-pad-test/artifacts # echo "Running tests..." # cd git-pad-test # #./run_gh_tests.sh > artifacts/test.log 2>&1 # bash -x ../run_test_issues.sh > artifacts/run_test_issues.log 2>&1
- name: install script id : install shell: bash run: bash install.sh; bash get_rc.sh; cat $(bash get_rc.sh)
- name: Run tests id: tests shell: bash #continue-on-error: true run: | echo $PATH PATH=$PATH:$PWD #bash get_rc.sh; cat $(bash get_rc.sh) cd git-pad-test && echo "git-pad-test"
git config --global user.email "kwhkim@gha" git config --global user.name "kwhkim"
cd R1 && echo "R1"
bash test_completion.bash
git pad list || true git pad status || true git pad remote || true git pad track || true
git pad init --no-clone git pad new --title="first issue" --body="This is for testing" git pad new --title="second issue" --body="This is second issue"
git pad status git pad commit -m "R1 first commit"
git pad list git pad new --title="third issue" --body="This is the third" git pad status git pad commit -m "R1 second commit"
git remote add local ../bare1.git git pad track local git pad push local
cd ..
if [ ! -d R2 ]; then git clone bare1.git R2; fi cd R2 && echo R2 git pad clone git pad list git pad status
git pad new --title="4th issue" --body="This is 4th" --type="announcement" --priority="P1" git pad new --title="5th issue" --body="This happens when ..." --type="bug" --priority="P1" git pad commit -m "R2 issue number 4 and 5"
git pad push cd ..
if [ ! -d R3 ]; then git clone bare1.git R3; fi cd R3 && echo R3
git pad init --clone git pad list git pad status git pad pull
pwd cd ..
if [ ! -d R4 ]; then git clone bare1.git R4; fi
if [ ! -d R5 ]; then git clone bare1.git R5; fi
pwd cd R5 && git pad init --clone && cd ..
pwd cd R4 git pad clone
id=$(git pad list | awk '{print $1}' | grep -v ID | head -1) git pad comment "$id" -m "Looks good. keep it up"
git pad new --title="6th issue" --body="This is 6th" --type="announcement" --priority="P2" git pad commit -m "R4 commit 1" git pad new --title="7th issue" --body="This happens when ..." --type="bug" --priority="P2" git pad commit -m "R4 commit 2"
git pad push cd ..
cd R3 pwd git pad pull cd ..
cd R5 pwd
git pad new --title="6th another issue" --body="This is 6th" --type="announcement" --priority="P2" git pad commit -m "R5 commit 1b" git pad new --title="7th another issue" --body="This happens when ..." --type="bug" --priority="P2" git pad commit -m "R5 commit 2b"
id=$(git pad list | awk '{print $1}' | grep -v ID | head -1) git pad comment "$id" -m "Let's get rolling."
git pad push || true git pad pull git pad list
cd -
if [ ! -d R6 ]; then git clone bare1.git R6; fi
- name: Upload test artifacts uses: actions/upload-artifact@v4 with: name: test-output-windows path: artifacts/
- name: Fail if tests failed if: steps.tests.outcome == 'failure' run: exit 1