Skip to content

Commit e738079

Browse files
committed
Switch to GitHub Actions
1 parent fcacbe7 commit e738079

File tree

3 files changed

+48
-47
lines changed

3 files changed

+48
-47
lines changed

.github/workflows/CI.yml

+42
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
name: CI
2+
on:
3+
- push
4+
- pull_request
5+
jobs:
6+
test:
7+
name: Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }}
8+
runs-on: ${{ matrix.os }}
9+
strategy:
10+
fail-fast: true
11+
matrix:
12+
version:
13+
- "1" # Latest release
14+
- nightly
15+
os:
16+
- ubuntu-latest
17+
- macOS-latest
18+
- windows-latest
19+
arch:
20+
- x64
21+
steps:
22+
- uses: actions/checkout@v2
23+
- uses: julia-actions/setup-julia@v1
24+
with:
25+
version: ${{ matrix.version }}
26+
arch: ${{ matrix.arch }}
27+
- uses: actions/cache@v1
28+
env:
29+
cache-name: cache-artifacts
30+
with:
31+
path: ~/.julia/artifacts
32+
key: ${{ runner.os }}-test-${{ env.cache-name }}-${{ hashFiles('**/Project.toml') }}
33+
restore-keys: |
34+
${{ runner.os }}-test-${{ env.cache-name }}-
35+
${{ runner.os }}-test-
36+
${{ runner.os }}-
37+
- uses: julia-actions/julia-buildpkg@v1
38+
- uses: julia-actions/julia-runtest@v1
39+
- uses: julia-actions/julia-processcoverage@v1
40+
- uses: codecov/codecov-action@v1
41+
with:
42+
file: lcov.info

.travis.yml

-34
This file was deleted.

README.jmd

+6-13
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,9 @@
1-
## ShortStrings
1+
# ShortStrings
2+
3+
[![contributions welcome](https://img.shields.io/badge/contributions-welcome-brightgreen.svg?style=flat)](https://github.com/JuliaString/ShortStrings.jl/issues)
4+
[![CI](https://github.com/JuliaString/ShortStrings.jl/workflows/CI/badge.svg)](https://github.com/JuliaString/ShortStrings.jl/actions?query=workflow%3ACI)
5+
[![codecov](https://codecov.io/gh/JuliaString/ShortStrings.jl/branch/master/graph/badge.svg)](https://codecov.io/gh/JuliaString/ShortStrings.jl)
6+
27
This is an efficient string format for storing strings using integer types. For example, `UInt32` can hold 3 bytes of string with 1 byte to record the size of the string and a `UInt128` can hold a 15-byte string with 1 byte to record the size of the string.
38

49
Using BitIntegers.jl, integer of larger size than `UInt128` can be defined. This package supports string with up to 255 bytes in size.
@@ -92,15 +97,3 @@ bar(["Base.sort","SortingLab.radixsort","ShortStrings radix sort", "R radix sort
9297

9398
## Notes
9499
This is based on the discussion [here](https://discourse.julialang.org/t/progress-towards-faster-sortperm-for-strings/8505/4?u=xiaodai). If Julia.Base adopts the hybrid representation of strings then it makes this package redundant.
95-
96-
# Build Status
97-
98-
[contrib]: https://img.shields.io/badge/contributions-welcome-brightgreen.svg?style=flat
99-
[travis-url]: https://travis-ci.org/JuliaString/ShortStrings.jl
100-
[travis-img]: https://travis-ci.org/JuliaString/ShortStrings.jl.svg?branch=master
101-
[codecov-url]: https://codecov.io/gh/JuliaString/ShortStrings.jl?branch=master
102-
[codecov-img]: https://codecov.io/gh/JuliaString/ShortStrings.jl/branch/master/graph/badge.svg
103-
104-
[![contributions welcome][contrib]](https://github.com/JuliaString/Strs.jl/issues)
105-
[![][travis-img]][travis-url]
106-
[![][codecov-img]][codecov-url]

0 commit comments

Comments
 (0)