Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
version: 2
updates:
- package-ecosystem: "julia"
directory: "/"
schedule:
interval: "weekly"
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "weekly"
22 changes: 0 additions & 22 deletions .github/workflows/jlpkgbutler-butler-workflow.yml

This file was deleted.

49 changes: 0 additions & 49 deletions .github/workflows/jlpkgbutler-ci-master-workflow.yml

This file was deleted.

45 changes: 0 additions & 45 deletions .github/workflows/jlpkgbutler-ci-pr-workflow.yml

This file was deleted.

23 changes: 0 additions & 23 deletions .github/workflows/jlpkgbutler-codeformat-pr-workflow.yml

This file was deleted.

20 changes: 0 additions & 20 deletions .github/workflows/jlpkgbutler-compathelper-workflow.yml

This file was deleted.

23 changes: 0 additions & 23 deletions .github/workflows/jlpkgbutler-docdeploy-workflow.yml

This file was deleted.

17 changes: 0 additions & 17 deletions .github/workflows/jlpkgbutler-tagbot-workflow.yml

This file was deleted.

17 changes: 17 additions & 0 deletions .github/workflows/juliaci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: Julia CI

on:
push: {branches: [main,master]}
pull_request: {types: [opened,synchronize,reopened,ready_for_review,converted_to_draft]}
issue_comment: {types: [created]}
workflow_dispatch: {inputs: {feature: {type: choice, description: What to run, options: [DocDeploy,LintAndTest,TagBot]}}}

jobs:
julia-ci:
uses: julia-testitems/testitem-workflow/.github/workflows/juliaci.yml@v2
with:
include-all-compatible-minor-versions: true
include-rc-versions: true
permissions: write-all
secrets:
codecov_token: ${{ secrets.CODECOV_TOKEN }}
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,6 @@
*.jl.mem
Manifest.toml
.vscode
docs/build/
docs/Manifest.toml
test-output*.*
2 changes: 0 additions & 2 deletions .jlpkgbutler.toml

This file was deleted.

2 changes: 1 addition & 1 deletion LICENSE.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
The Queryverse.jl package is licensed under the MIT "Expat" License:

> Copyright (c) 2017-2019: David Anthoff.
> Copyright (c) 2017-2026: David Anthoff.
>
>
> Permission is hereby granted, free of charge, to any person obtaining a copy
Expand Down
15 changes: 8 additions & 7 deletions Project.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name = "Queryverse"

Check notice on line 1 in Project.toml

View workflow job for this annotation

GitHub Actions / julia-ci / lint

environment_errors

Failed to resolve the test environment of package 'Queryverse' at /home/runner/work/Queryverse.jl/Queryverse.jl: Unsatisfiable requirements detected for package BinaryProvider [b99e7846]. Missing-reference checks are degraded in that scope; enable debug logging for the full error.
uuid = "612083be-0b0f-5412-89c1-4e7c75506a58"
version = "0.7.1-DEV"
version = "1.0.0-DEV"

[deps]
CSVFiles = "5d742f6a-9f54-50ce-8119-2520741973ca"
Expand All @@ -21,22 +21,23 @@
[compat]
CSVFiles = "1"
DataFrames = "0.20, 0.21, 0.22, 1.0"
DataTables = "0.1"
DataValues = "0.4.4"
DataTables = "0.1, 0.2, 1"
DataValues = "0.4.4, 0.5, 1"
DataVoyager = "0.3, 1"
ExcelFiles = "1"
FeatherFiles = "0.8"
FeatherFiles = "0.8, 0.9, 1"
FileIO = "1"
IterableTables = "1"
ParquetFiles = "0.2"
ParquetFiles = "0.2, 0.3, 1"
Query = "0.12, 1.0"
Reexport = "0.2, 1"
StatFiles = "0.8"
StatFiles = "0.8, 0.9, 1"
VegaLite = "1, 2.0, 3"
julia = "1"

[extras]
TestItemRunner = "f8b46487-2199-4994-9208-9a1283c18c0a"
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"

[targets]
test = ["Test"]
test = ["Test", "TestItemRunner"]
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
# Queryverse

[![Project Status: Active - The project has reached a stable, usable state and is being actively developed.](http://www.repostatus.org/badges/latest/active.svg)](http://www.repostatus.org/#active)
[![Build Status](https://travis-ci.org/queryverse/Queryverse.jl.svg?branch=master)](https://travis-ci.org/queryverse/Queryverse.jl)
[![Build status](https://ci.appveyor.com/api/projects/status/4bf4b25hr0b68xbm/branch/master?svg=true)](https://ci.appveyor.com/project/queryverse/queryverse-jl/branch/master)
[![Build Status](https://github.com/queryverse/Queryverse.jl/actions/workflows/juliaci.yml/badge.svg?branch=main)](https://github.com/queryverse/Queryverse.jl/actions/workflows/juliaci.yml)
[![codecov.io](http://codecov.io/github/queryverse/Queryverse.jl/coverage.svg?branch=master)](http://codecov.io/github/queryverse/Queryverse.jl?branch=master)

## Overview
Expand Down
2 changes: 1 addition & 1 deletion docs/Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
Documenter = "e30172f5-a6a5-5a46-863b-614d45cd2de4"

[compat]
Documenter = "~0.24"
Documenter = "1"
3 changes: 2 additions & 1 deletion docs/make.jl
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@ using Documenter, Queryverse
makedocs(
modules=[Queryverse],
sitename="Queryverse.jl",
analytics="UA-132838790-1",
format = Documenter.HTML(analytics = "UA-132838790-1"),
warnonly = [:missing_docs],
pages=[
"Introduction" => "index.md"
]
Expand Down
28 changes: 3 additions & 25 deletions test/runtests.jl
Original file line number Diff line number Diff line change
@@ -1,27 +1,5 @@
using Queryverse
using Test
using TestItemRunner

@testset "Queryverse" begin
include("test_queryverse.jl")

df = load(joinpath(@__DIR__, "testdata.csv")) |>
@query(i, begin
@select {i.Count, i.Year}
end) |>
@tee(save("testoutput.csv")) |>
# @tee(begin
# data_values() |>
# mark_point() |>
# encoding_x_ord(:Year) |>
# encoding_y_quant(:Count) |>
# save("testoutput.pdf")
# end) |>
DataFrame

@test size(df) == (2, 2)

io = IOBuffer()
f(x) = print(io, sum(x + x))
1:10 |> @tee(f) |> x -> print(io, " ", sum(x))
@test String(take!(io)) == "110 55"

end
@run_package_tests
18 changes: 18 additions & 0 deletions test/test_queryverse.jl
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
@testitem "Queryverse" begin
output_file = joinpath(mktempdir(), "testoutput.csv")

df = load(joinpath(@__DIR__, "testdata.csv")) |>
@query(i, begin
@select {i.Count, i.Year}
end) |>
@tee(save(output_file)) |>
DataFrame

@test size(df) == (2, 2)
@test isfile(output_file)

io = IOBuffer()
f(x) = print(io, sum(x + x))
1:10 |> @tee(f) |> x -> print(io, " ", sum(x))
@test String(take!(io)) == "110 55"
end
Loading