@@ -2,49 +2,49 @@ name: Test Dotfiles
22
33on :
44 push :
5- branches : [ main ]
5+ branches : [main]
66 pull_request :
7- branches : [ main ]
7+ branches : [main]
88 workflow_dispatch :
99
1010jobs :
1111 test :
1212 runs-on : macos-latest
13-
13+
1414 steps :
15- - uses : actions/checkout@v4
16-
17- - name : Set up Homebrew
18- id : set-up-homebrew
19- uses : Homebrew/actions/setup-homebrew@master
20-
21- - name : Install dependencies
22- run : |
23- brew install bats-core yamllint shellcheck lua
24-
25- - name : Set up Python
26- uses : actions/setup-python@v5
27- with :
28- python-version : ' 3.12'
29-
30- - name : Install Python dependencies
31- run : |
32- pip install uv
33- uv venv
34- source .venv/bin/activate
35- uv pip install tomlcheck
36-
37- - name : Run syntax validation tests
38- run : |
39- source .venv/bin/activate
40- bats -r tests/syntax/
41-
42- - name : Run functionality tests
43- run : |
44- source .venv/bin/activate
45- bats -r tests/functionality/
46-
47- - name : Run installation tests
48- run : |
49- source .venv/bin/activate
50- bats -r tests/install/
15+ - uses : actions/checkout@v4
16+
17+ - name : Set up Homebrew
18+ id : set-up-homebrew
19+ uses : Homebrew/actions/setup-homebrew@master
20+
21+ - name : Install dependencies
22+ run : |
23+ brew install bats-core yamllint shellcheck lua
24+
25+ - name : Set up Python
26+ uses : actions/setup-python@v5
27+ with :
28+ python-version : ' 3.12'
29+
30+ - name : Install Python dependencies
31+ run : |
32+ pip install uv
33+ uv venv
34+ source .venv/bin/activate
35+ uv pip install tomlcheck
36+
37+ - name : Run syntax validation tests
38+ run : |
39+ source .venv/bin/activate
40+ bats -r tests/syntax/
41+
42+ - name : Run functionality tests
43+ run : |
44+ source .venv/bin/activate
45+ bats -r tests/functionality/
46+
47+ - name : Run installation tests
48+ run : |
49+ source .venv/bin/activate
50+ bats -r tests/install/
0 commit comments