Skip to content

Commit

Permalink
Update README & ci
Browse files Browse the repository at this point in the history
  • Loading branch information
quinnj committed Dec 12, 2020
1 parent 52d0974 commit 806e5fa
Show file tree
Hide file tree
Showing 3 changed files with 82 additions and 37 deletions.
72 changes: 72 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,72 @@
name: CI
on:
pull_request:
branches:
- main
push:
branches:
- main
tags: '*'
jobs:
test:
name: Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }} - ${{ github.event_name }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
version:
- '1.0'
- '1' # automatically expands to the latest stable 1.x release of Julia
- 'nightly'
os:
- ubuntu-latest
arch:
- x64
include:
- os: windows-latest
version: '1'
arch: x86
steps:
- uses: actions/checkout@v2
- uses: julia-actions/setup-julia@v1
with:
version: ${{ matrix.version }}
arch: ${{ matrix.arch }}
- uses: actions/cache@v1
env:
cache-name: cache-artifacts
with:
path: ~/.julia/artifacts
key: ${{ runner.os }}-test-${{ env.cache-name }}-${{ hashFiles('**/Project.toml') }}
restore-keys: |
${{ runner.os }}-test-${{ env.cache-name }}-
${{ runner.os }}-test-
${{ runner.os }}-
- uses: julia-actions/julia-buildpkg@v1
- uses: julia-actions/julia-runtest@v1
- uses: julia-actions/julia-processcoverage@v1
- uses: codecov/codecov-action@v1
with:
file: lcov.info
docs:
name: Documentation
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: julia-actions/setup-julia@v1
with:
version: '1'
- run: |
julia --project=docs -e '
using Pkg
Pkg.develop(PackageSpec(path=pwd()))
Pkg.instantiate()'
- run: |
julia --project=docs -e '
using Documenter: doctest
using StructTypes
doctest(StructTypes)'
- run: julia --project=docs docs/make.jl
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
DOCUMENTER_KEY: ${{ secrets.DOCUMENTER_KEY }}
36 changes: 0 additions & 36 deletions .travis.yml

This file was deleted.

11 changes: 10 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,16 @@

*Common table operations on Tables.jl compatible sources*

[![][travis-img]][travis-url] [![][codecov-img]][codecov-url]
[![CI](https://github.com/JuliaData/TableOperations.jl/workflows/CI/badge.svg)](https://github.com/JuliaData/TableOperations.jl/actions?query=workflow%3ACI)
[![codecov](https://codecov.io/gh/JuliaData/TableOperations.jl/branch/master/graph/badge.svg)](https://codecov.io/gh/JuliaData/TableOperations.jl)
[![deps](https://juliahub.com/docs/TableOperations/deps.svg)](https://juliahub.com/ui/Packages/TableOperations/5GGWt?t=2)
[![version](https://juliahub.com/docs/TableOperations/version.svg)](https://juliahub.com/ui/Packages/TableOperations/5GGWt)
[![version](https://juliahub.com/docs/TableOperations/version.svg)](https://juliahub.com/ui/Packages/TableOperations/5GGWt)

**Installation**: at the Julia REPL, `import Pkg; Pkg.add("TableOperations")`

**Maintenance**: TableOperations is maintained collectively by the [JuliaData collaborators](https://github.com/orgs/JuliaData/people).
Responsiveness to pull requests and issues can vary, depending on the availability of key collaborators.

## Documentation

Expand Down

0 comments on commit 806e5fa

Please sign in to comment.