File tree Expand file tree Collapse file tree 2 files changed +42
-1
lines changed
Expand file tree Collapse file tree 2 files changed +42
-1
lines changed Original file line number Diff line number Diff line change 1+ name : nitrogen_core tests and dialyzer
2+ on : push
3+
4+ jobs :
5+ linux :
6+ name : OTP ${{ matrix.otp_version }} - {{ matrix.os }}
7+ runs-on : ${{ matrix.os }}
8+ continue-on-error : true
9+
10+ strategy :
11+ matrix :
12+ include :
13+ os : [ubuntu-20.04, ubuntu-22.04, ubuntu-24.04]
14+ otp_version : ['25.x', '26.x', '27.x']
15+ rebar3_version : ["3.22.1", "3.24.0"]
16+
17+ steps :
18+ - name : Install firefox
19+
20+ - name : Install OTP ${{matrix.otp_version}}
21+ uses : erlef/setup-beam@v1
22+ with :
23+ version-type : loose
24+ otp-version : ${{ matrix.otp_version}}
25+ rebar3-version : ${{ matrix.rebar3_version}}
26+
27+ - name : Checkout Nitrogen
28+ uses : actions/checkout@v3
29+
30+
31+ - name : Install Firefox
32+ uses : browser-actions/setup-firefox@v1
33+
34+ - name : Install Chrome
35+ uses : browser-actions/setup-chrome@v1
36+
37+ - name : Test Browsers
38+ run : make test
39+
40+ - name : Run Dialyzer
41+ run : make dialyzer
Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ test: rebar3
2929 mkdir -p test
3030 rm -fr test/browsertest
3131 $(MAKE ) eunit
32- git clone https://github.com/nitrogen/NitrogenProject.com.git -b rebar3 test/browsertest
32+ git clone https://github.com/nitrogen/NitrogenProject.com.git -b 3.0 test/browsertest
3333 mkdir -p test/browsertest/_checkouts
3434 ln -s ../../.. test/browsertest/_checkouts/nitrogen_core
3535 cd test/browsertest; $(MAKE ) test_all TESTLOGDIR=" ../results.$( shell date +%Y-%m-%d.%H%M%S) "
You can’t perform that action at this time.
0 commit comments