File tree Expand file tree Collapse file tree 4 files changed +74
-45
lines changed Expand file tree Collapse file tree 4 files changed +74
-45
lines changed Original file line number Diff line number Diff line change 1+ name : Unit test
2+
3+ on :
4+ create :
5+ tags :
6+ push :
7+ branches :
8+ - master
9+ pull_request :
10+ schedule :
11+ - cron : ' 20 00 1 * *'
12+
13+ jobs :
14+ test :
15+ runs-on : ${{ matrix.os }}
16+ strategy :
17+ fail-fast : false
18+ matrix :
19+ julia-version : ['1.0', '1', 'nightly']
20+ os : [ubuntu-latest, windows-latest, macOS-latest]
21+ julia-arch : [x64]
22+ # only test one 32-bit job
23+ include :
24+ - os : ubuntu-latest
25+ julia-version : ' 1'
26+ julia-arch : x86
27+
28+ steps :
29+ - uses : actions/checkout@v2
30+ - name : " Set up Julia"
31+ uses : julia-actions/setup-julia@v1
32+ with :
33+ version : ${{ matrix.julia-version }}
34+ arch : ${{ matrix.julia-arch }}
35+
36+ - name : Cache artifacts
37+ uses : actions/cache@v1
38+ env :
39+ cache-name : cache-artifacts
40+ with :
41+ path : ~/.julia/artifacts
42+ key : ${{ runner.os }}-test-${{ env.cache-name }}-${{ hashFiles('**/Project.toml') }}
43+ restore-keys : |
44+ ${{ runner.os }}-test-${{ env.cache-name }}-
45+ ${{ runner.os }}-test-
46+ ${{ runner.os }}-
47+ - name : " Unit Test"
48+ uses : julia-actions/julia-runtest@master
49+
50+ - uses : julia-actions/julia-processcoverage@v1
51+ - uses : codecov/codecov-action@v1
52+ with :
53+ file : lcov.info
54+
55+
Original file line number Diff line number Diff line change 11language : julia
22os :
33 - linux
4- - osx
54julia :
65 - 1.0
76 - 1
87 - nightly
8+ arch :
9+ - arm64
910notifications :
1011 email : false
11-
12- after_success :
13- # push coverage results to Codecov
14- - julia -e 'using Pkg; cd(Pkg.dir("FixedPointNumbers")); Pkg.add("Coverage"); using Coverage; Codecov.submit(Codecov.process_folder())'
12+ codecov : true
Original file line number Diff line number Diff line change 11# FixedPointNumbers
22
3- [ ![ Build Status] ( https://travis-ci.org/JuliaMath/FixedPointNumbers.jl.svg?branch=master )] ( https://travis-ci.org/JuliaMath/FixedPointNumbers.jl )
4- [ ![ PkgEval ] ( https://juliaci.github.io/NanosoldierReports/pkgeval_badges/F/FixedPointNumbers.svg )] ( https://juliaci.github.io/NanosoldierReports/pkgeval_badges/report.html )
5- [ ![ codecov.io ] ( http:// codecov.io/github/JuliaMath/FixedPointNumbers.jl/coverage.svg?branch=master )] ( http:// codecov.io/github/JuliaMath/FixedPointNumbers.jl?branch=master )
3+ [ ![ Build Status] [ action-img ]] [ action-url ]
4+ [ ![ Build Status ] [ pkgeval-img ]] [ pkgeval-url ]
5+ [ ![ coverage ] [ codecov-img ]] [ codecov-url ]
66
77This library implements fixed-point number types. A
88[ fixed-point number] represents a fractional, or
@@ -142,3 +142,16 @@ Please see [CONTRIBUTING.md](CONTRIBUTING.md) for information about improving th
142142[ overflow ] : https://en.wikipedia.org/wiki/Integer_overflow
143143[ rounding ] : https://en.wikipedia.org/wiki/Round-off_error
144144[ underflow ] : https://en.wikipedia.org/wiki/Arithmetic_underflow
145+
146+
147+ <!-- badges -->
148+
149+ [ action-img ] : https://github.com/JuliaMath/FixedPointNumbers.jl/workflows/Unit%20test/badge.svg
150+ [ action-url ] : https://github.com/JuliaMath/FixedPointNumbers.jl/actions
151+
152+ [ pkgeval-img ] : https://juliaci.github.io/NanosoldierReports/pkgeval_badges/F/FixedPointNumbers.svg
153+ [ pkgeval-url ] : https://juliaci.github.io/NanosoldierReports/pkgeval_badges/report.html
154+
155+ [ codecov-img ] : https://codecov.io/gh/JuliaMath/FixedPointNumbers.jl/branch/master/graph/badge.svg
156+ [ codecov-url ] : https://codecov.io/gh/JuliaMath/FixedPointNumbers.jl
157+
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments