File tree Expand file tree Collapse file tree 1 file changed +0
-30
lines changed
Expand file tree Collapse file tree 1 file changed +0
-30
lines changed Original file line number Diff line number Diff line change 1515 - name : Checkout repository
1616 uses : actions/checkout@v4
1717
18- - name : Cache Homebrew
19- uses : actions/cache@v4
20- with :
21- path : ~/Library/Caches/Homebrew
22- key : ${{ runner.os }}-homebrew-${{ hashFiles('**/Brewfile') }}
23- restore-keys : |
24- ${{ runner.os }}-homebrew-
25-
2618 - name : Install dependencies
2719 run : |
2820 brew install bats-core
5345 echo "Running vitest test suite..."
5446 cd js
5547 yarn test
56-
57- - name : Test entry.zsh loading
58- run : |
59- echo "Testing entry.zsh configuration flag handling..."
60-
61- # Test with git flag
62- output=$(OSA_SETUP_GIT=true zsh -c "source entry.zsh && alias prune" 2>/dev/null)
63- echo "$output" | grep -q "git fetch -p"
64- echo "✓ Git aliases load correctly"
65-
66- # Test with node flag
67- output=$(OSA_SETUP_NODE=true zsh -c "source entry.zsh && alias nr" 2>/dev/null)
68- echo "$output" | grep -q "npm run"
69- echo "✓ NPM aliases load correctly"
70-
71- - name : Upload test results
72- if : always()
73- uses : actions/upload-artifact@v5
74- with :
75- name : test-results
76- path : tests/*.bats
77- retention-days : 30
You can’t perform that action at this time.
0 commit comments