Skip to content

Commit 3192d0f

Browse files
authored
Update CI, julia compat, and readme links (#86)
1 parent be4597f commit 3192d0f

File tree

5 files changed

+67
-12
lines changed

5 files changed

+67
-12
lines changed

.github/workflows/CI.yml

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,21 +20,30 @@ jobs:
2020
fail-fast: false
2121
matrix:
2222
version:
23-
- '1.6'
23+
- 'lts'
2424
- '1'
2525
- 'nightly'
2626
os:
2727
- ubuntu-latest
2828
- windows-latest
2929
- macos-latest
3030
arch:
31-
- x64
31+
- default
32+
- x86
33+
exclude:
34+
- os: macos-latest
35+
arch: x86
36+
include:
37+
- os: ubuntu-latest
38+
version: 'min'
39+
arch: x64
3240
steps:
3341
- uses: actions/checkout@v4
3442
- uses: julia-actions/setup-julia@v2
3543
with:
3644
version: ${{ matrix.version }}
3745
arch: ${{ matrix.arch }}
46+
show-versioninfo: true
3847
- uses: julia-actions/cache@v2
3948
- uses: julia-actions/julia-buildpkg@v1
4049
- uses: julia-actions/julia-runtest@v1

.github/workflows/Downstream.yml

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
name: Downstream
2+
on:
3+
push:
4+
branches: [master]
5+
tags: [v*]
6+
pull_request:
7+
8+
jobs:
9+
test:
10+
name: ${{ matrix.package }}
11+
runs-on: ubuntu-latest
12+
strategy:
13+
fail-fast: false
14+
matrix:
15+
package:
16+
- "CSV"
17+
- "Documenter"
18+
- "HTTP"
19+
- "JLD2"
20+
- "RData"
21+
- "WriteVTK"
22+
- "ZipArchives"
23+
- "ZipStreams"
24+
steps:
25+
- uses: actions/checkout@v4
26+
- uses: julia-actions/setup-julia@v2
27+
with:
28+
version: 1
29+
arch: x64
30+
show-versioninfo: true
31+
- uses: julia-actions/julia-buildpkg@latest
32+
- name: Load this and run the downstream tests
33+
shell: julia --color=yes {0}
34+
run: |
35+
using Pkg
36+
Pkg.Registry.update()
37+
Pkg.activate(;temp=true)
38+
# force it to use this PR's version of the package
39+
ENV["JULIA_PKG_DEVDIR"]= mktempdir()
40+
Pkg.develop([
41+
PackageSpec(path="."),
42+
PackageSpec(name="${{ matrix.package }}"),
43+
])
44+
Pkg.update()
45+
Pkg.test("${{ matrix.package }}")

.gitignore

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,14 @@
1+
#Mac OS X
2+
*.DS_Store
3+
4+
#VS Code
5+
/.vscode/
6+
17
*.jl.cov
28
*.jl.*.cov
39
*.jl.mem
410
/Manifest.toml
11+
/test/Manifest.toml
512
/.envrc
613
/deps/deps.jl
714
/deps/build.log

Project.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,4 @@ Zlib_jll = "83775a58-1f1d-513f-b197-d71354ab007a"
1010

1111
[compat]
1212
TranscodingStreams = "0.9, 0.10, 0.11"
13-
julia = "1.3"
13+
julia = "1.6"

README.md

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
CodecZlib.jl
22
============
33

4-
[![codecov.io][codecov-img]][codecov-url]
4+
[![CI](https://github.com/JuliaIO/CodecZlib.jl/actions/workflows/CI.yml/badge.svg)](https://github.com/JuliaIO/CodecZlib.jl/actions/workflows/CI.yml)
5+
[![codecov](https://codecov.io/gh/JuliaIO/CodecZlib.jl/graph/badge.svg?token=6V3Z847Ywr)](https://codecov.io/gh/JuliaIO/CodecZlib.jl)
56

67
## Installation
78

@@ -48,11 +49,4 @@ This package exports following codecs and streams:
4849
| `DeflateCompressor` | `DeflateCompressorStream` |
4950
| `DeflateDecompressor` | `DeflateDecompressorStream` |
5051

51-
See docstrings and [TranscodingStreams.jl](https://github.com/bicycle1885/TranscodingStreams.jl) for details.
52-
53-
[travisci-img]: https://travis-ci.org/JuliaIO/CodecZlib.jl.svg?branch=master
54-
[travisci-url]: https://travis-ci.org/JuliaIO/CodecZlib.jl
55-
[appveyor-img]: https://ci.appveyor.com/api/projects/status/xy5bx1fdvuxgemph?svg=true
56-
[appveyor-url]: https://ci.appveyor.com/project/bicycle1885/codeczlib-jl
57-
[codecov-img]: http://codecov.io/github/JuliaIO/CodecZlib.jl/coverage.svg?branch=master
58-
[codecov-url]: http://codecov.io/github/JuliaIO/CodecZlib.jl?branch=master
52+
See docstrings and [TranscodingStreams.jl](https://github.com/JuliaIO/TranscodingStreams.jl) for details.

0 commit comments

Comments
 (0)