File tree Expand file tree Collapse file tree 1 file changed +57
-3
lines changed Expand file tree Collapse file tree 1 file changed +57
-3
lines changed Original file line number Diff line number Diff line change 3232 test_chapter_16_javascript,
3333 unit-test
3434 ]
35+
3536 steps :
3637 - 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 's_git@github.com:_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 "elspeth@example.com"
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 globally
73+ shell : bash
74+ run : |
75+ pip install .
76+
77+ - name : Install Python requirements.txt into virtualenv
78+ shell : bash
79+ run : |
80+ make .venv/bin
81+
82+ - name : Run chapter test
83+ shell : bash
84+ run : |
85+ make ${{ matrix.test_chapter }}
86+
87+ - name : Archive the built html files
88+ uses : actions/upload-artifact@v4
89+ if : always()
3990 with :
40- test_chapter : ${{ matrix.test_chapter }}
91+ name : built-html-${{ matrix.test_chapter }}
92+ path : |
93+ *.html
94+ *.css
You can’t perform that action at this time.
0 commit comments