@@ -18,29 +18,56 @@ jobs:
18
18
python-version : ["3.10", "3.11", "3.12.0-beta.4"]
19
19
20
20
steps :
21
- - name : Checkout code
21
+ - name : Checkout repo
22
22
uses : actions/checkout@v3
23
23
24
24
- name : Set up Python
25
25
uses : actions/setup-python@v4
26
26
with :
27
27
python-version : ${{ matrix.python-version }}
28
28
29
- - name : Install tree (only macOS)
29
+ - name : Install tree (macOS)
30
30
if : matrix.os == 'macos-latest'
31
31
run : brew install tree
32
32
33
+ - name : Install tree (Windows)
34
+ if : matrix.os == 'windows-latest'
35
+ run : Install-Module PSScriptTools -scope CurrentUser -force
36
+
37
+ - name : Install tree (Linux)
38
+ if : matrix.os == 'ubuntu-latest'
39
+ run : sudo apt install tree
40
+
33
41
- name : Install the package
34
42
run : pip install .
35
43
36
44
- name : Run the package
37
45
run : bootstrapper tr -b 3.12
38
46
39
- - name : See results
40
- shell : bash
47
+ - name : See results (non-Windows)
48
+ if : matrix.os != 'windows-latest'
41
49
run : |
42
50
cd python-docs-tr
43
51
tree . -L 2
52
+ echo "================================"
53
+ echo "Check if everything is OK (clean paths, correct syntax)"
54
+ echo "================================"
55
+ cat about.po
56
+ echo "================================"
57
+ echo "Check if everything is OK (clean paths, correct syntax)"
58
+ echo "================================"
59
+ cat library/functions.po
60
+
61
+ - name : See results (Windows)
62
+ if : matrix.os == 'windows-latest'
63
+ run : |
64
+ cd python-docs-tr
65
+ Show-Tree . -Depth 2 -ShowItem
66
+ echo "================================"
67
+ echo "Check if everything is OK (clean paths, correct syntax)"
68
+ echo "================================"
44
69
cat about.po
45
70
echo "================================"
71
+ echo "Check if everything is OK (clean paths, correct syntax)"
72
+ echo "================================"
46
73
cat library/functions.po
0 commit comments