File tree Expand file tree Collapse file tree 1 file changed +52
-3
lines changed Expand file tree Collapse file tree 1 file changed +52
-3
lines changed Original file line number Diff line number Diff line change 32
32
test_chapter_16_javascript,
33
33
unit-test
34
34
]
35
+
35
36
steps :
36
37
- uses : actions/checkout@v4
37
- - id : foo
38
- uses : hjwp/github-actions@v8
38
+
39
+ - name : checkout submodules
40
+ shell : bash
41
+ run : |
42
+ sed -i '[email protected] :_https://github.com/_' .gitmodules
43
+ git submodule update --init --recursive
44
+
45
+ - name : setup Git
46
+ shell : bash
47
+ run : |
48
+ git config --global user.email "[email protected] "
49
+ git config --global user.name "Elspeth See-Eye"
50
+ git config --global init.defaultBranch main
51
+
52
+ - name : Set up Python 3.12
53
+ uses : actions/setup-python@v5
54
+ with :
55
+ python-version : 3.12
56
+
57
+ - name : Install apt stuff and other dependencies
58
+ shell : bash
59
+ run : |
60
+ sudo add-apt-repository ppa:mozillateam/ppa
61
+ sudo apt update -y
62
+ sudo apt install -y \
63
+ asciidoctor \
64
+ language-pack-en \
65
+ ruby-coderay \
66
+ ruby-pygments.rb \
67
+ firefox-esr \
68
+ tree \
69
+ locales
70
+ sudo locale-gen en_GB.UTF-8
71
+
72
+ - name : Install Python requirements.txt
73
+ shell : bash
74
+ run : |
75
+ pip install .
76
+
77
+ - name : Run chapter test
78
+ shell : bash
79
+ run : |
80
+ make ${{ matrix.test_chapter }}
81
+
82
+ - name : Archive the built html files
83
+ uses : actions/upload-artifact@v4
84
+ if : always()
39
85
with :
40
- test_chapter : ${{ matrix.test_chapter }}
86
+ name : built-html-${{ matrix.test_chapter }}
87
+ path : |
88
+ *.html
89
+ *.css
You can’t perform that action at this time.
0 commit comments