File tree 5 files changed +59
-43
lines changed
5 files changed +59
-43
lines changed Original file line number Diff line number Diff line change 1
1
---
2
2
kind : pipeline
3
- name : linux - arm - Julia 1.0
3
+ name : linux - arm64 - Julia 1.5
4
4
5
5
platform :
6
6
os : linux
7
- arch : arm
7
+ arch : arm64
8
8
9
9
steps :
10
10
- name : build
11
- image : julia:1.0
11
+ image : julia:1.5
12
12
commands :
13
13
- " julia --project=. --check-bounds=yes --color=yes -e 'using InteractiveUtils; versioninfo(verbose=true); using Pkg; Pkg.build(); Pkg.test(coverage=true)'"
14
14
15
15
---
16
16
kind : pipeline
17
- name : linux - arm64 - Julia 1.0
17
+ name : linux - arm - Julia 1.6
18
18
19
19
platform :
20
20
os : linux
21
- arch : arm64
21
+ arch : arm
22
22
23
23
steps :
24
24
- name : build
@@ -28,14 +28,15 @@ steps:
28
28
29
29
---
30
30
kind : pipeline
31
- name : linux - arm64 - Julia 1.5
31
+ name : linux - arm64 - Julia 1.6
32
32
33
33
platform :
34
34
os : linux
35
35
arch : arm64
36
36
37
37
steps :
38
38
- name : build
39
- image : julia:1.5
39
+ image : julia:1.0
40
40
commands :
41
41
- " julia --project=. --check-bounds=yes --color=yes -e 'using InteractiveUtils; versioninfo(verbose=true); using Pkg; Pkg.build(); Pkg.test(coverage=true)'"
42
+
Original file line number Diff line number Diff line change
1
+ name : CI
2
+ on :
3
+ - push
4
+ - pull_request
5
+ jobs :
6
+ test :
7
+ name : Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }} - ${{ github.event_name }}
8
+ runs-on : ${{ matrix.os }}
9
+ strategy :
10
+ fail-fast : false
11
+ matrix :
12
+ version :
13
+ - ' 1.5'
14
+ - ' 1.6'
15
+ - ' nightly'
16
+ os :
17
+ - ubuntu-latest
18
+ - macOS-latest
19
+ - windows-latest
20
+ arch :
21
+ - x64
22
+ - x86
23
+ exclude :
24
+ - os : macOS-latest
25
+ arch : x86
26
+ steps :
27
+ - uses : actions/checkout@v2
28
+ - uses : julia-actions/setup-julia@v1
29
+ with :
30
+ version : ${{ matrix.version }}
31
+ arch : ${{ matrix.arch }}
32
+ - uses : actions/cache@v1
33
+ env :
34
+ cache-name : cache-artifacts
35
+ with :
36
+ path : ~/.julia/artifacts
37
+ key : ${{ runner.os }}-test-${{ env.cache-name }}-${{ hashFiles('**/Project.toml') }}
38
+ restore-keys : |
39
+ ${{ runner.os }}-test-${{ env.cache-name }}-
40
+ ${{ runner.os }}-test-
41
+ ${{ runner.os }}-
42
+ - uses : julia-actions/julia-buildpkg@v1
43
+ - uses : julia-actions/julia-runtest@v1
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 4
4
keywords = [" Entities" , " HTML" ]
5
5
license = " MIT"
6
6
uuid = " 7693890a-d069-55fe-a829-b4a6d304f0ee"
7
- version = " 1.0.0 "
7
+ version = " 1.0.1 "
8
8
9
9
[deps ]
10
10
StrTables = " 9700d1a9-a7c8-5760-9816-a99fda30bb8f"
@@ -16,5 +16,5 @@ Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"
16
16
test = [" Test" ]
17
17
18
18
[compat ]
19
- julia = " ^1.0.0 "
20
- StrTables = " ≥ 1.0.0 "
19
+ julia = " 1 "
20
+ StrTables = " 1 "
Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ include(inpname)
15
15
const disp = [false ]
16
16
17
17
const fname = " html.dat"
18
- const datapath = " ../ data"
18
+ const datapath = joinpath ( @__DIR__ , " .." , " data" )
19
19
20
20
const empty_str = " "
21
21
@@ -89,14 +89,13 @@ if isfile(savfile)
89
89
println (" Tables already exist" )
90
90
else
91
91
println (" Creating tables" )
92
- tup = nothing
93
92
try
94
- global tup
95
93
tup = make_tables ()
94
+ println (" Saving tables to " , savfile)
95
+ StrTables. save (savfile, tup)
96
+ println (" Done" )
96
97
catch ex
98
+ println (" Error creating HTML tables" )
97
99
println (sprint (showerror, ex, catch_backtrace ()))
98
100
end
99
- println (" Saving tables to " , savfile)
100
- StrTables. save (savfile, tup)
101
- println (" Done" )
102
101
end
You can’t perform that action at this time.
0 commit comments