-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* transducers: 1.9 extensions * add OnlineStatsBase as test dependency * add explicit loading of OnlineStatsBase * update main enviroments * typo * explicitly import Transducers into extensions * import GenericInitialValue in OnlineStatsBaseExt * move OSNonZeroNObsError into Tranducers * typo in TransducersDataFramesExt * another typo in TransducersDataFramesExt * patch test to see if it the rest of the pkg works on nightly * tests: import Referenceables into scope * test on v1.9 * switch to regular Test.jl infrastructure * Delete vanilla-test.yml * Delete check-xfail.yml * Support 1.6+ * Support 1.6+ * revert changes to test infra * comment out test * revert commented out test * use Int instead of Int64 (32 bit tests) * trying to make test_ir pass * missing change in test_ir * skip doctests on 32 bit * skip doctests on 1.6 * fix test * Int64 -> Int * another fix to tests * bump version --------- Co-authored-by: Mason Protter <[email protected]>
- Loading branch information
1 parent
2a51f8d
commit 6540960
Showing
23 changed files
with
178 additions
and
199 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,50 +4,24 @@ on: | |
push: | ||
branches: | ||
- master | ||
tags: '*' | ||
pull_request: | ||
|
||
jobs: | ||
test: | ||
runs-on: ubuntu-latest | ||
runs-on: ${{ matrix.os }} | ||
strategy: | ||
matrix: | ||
julia-version: | ||
- '1.7' | ||
- '1.6' | ||
envname: ["main"] | ||
include: | ||
- julia-version: '1.0' | ||
envname: "jl10" | ||
- julia-version: '1.8' | ||
envname: "main_v2" | ||
- julia-version: 'nightly' | ||
envname: "main_v3" | ||
fail-fast: false | ||
name: Test Julia ${{ matrix.julia-version }} | ||
julia-version: ['1.6', '1.7', '1.8', '1.9', 'nightly'] | ||
julia-arch: [x64, x86] | ||
os: [ubuntu-latest] | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Setup julia | ||
uses: julia-actions/setup-julia@v1 | ||
- uses: julia-actions/setup-julia@v1 | ||
with: | ||
version: ${{ matrix.julia-version }} | ||
- run: julia -e 'using Pkg; pkg"add [email protected]"' | ||
- run: julia -e 'using Run; Run.prepare("test/environments/${{ matrix.envname }}")' | ||
- run: julia -e 'using Run; Run.test(project="test/environments/${{ matrix.envname }}")' | ||
- uses: julia-actions/julia-processcoverage@v1 | ||
- uses: codecov/codecov-action@v1 | ||
with: | ||
file: ./lcov.info | ||
flags: Run.test | ||
name: codecov-umbrella | ||
|
||
# A job that succeeds if and only if all jobs in `test` succeed. | ||
all-success: | ||
if: always() && github.event.pull_request | ||
needs: test | ||
runs-on: ubuntu-latest | ||
steps: | ||
# https://github.com/tkf/merge-conclusions-action | ||
- uses: tkf/merge-conclusions-action@v1 | ||
with: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
arch: ${{ matrix.julia-arch }} | ||
- uses: julia-actions/julia-buildpkg@v1 | ||
- uses: julia-actions/julia-runtest@v1 | ||
# with: | ||
# annotate: true |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
name = "Transducers" | ||
uuid = "28d57a85-8fef-5791-bfe6-a80928e7c999" | ||
authors = ["Takafumi Arakaki <[email protected]>"] | ||
version = "0.4.76" | ||
version = "0.4.77" | ||
|
||
[deps] | ||
Adapt = "79e6a3ab-5dfb-504d-930d-738a2a938a0e" | ||
|
@@ -33,7 +33,14 @@ Requires = "0.5, 1.0" | |
Setfield = "0.3, 0.4, 0.5, 0.6, 0.7, 0.8, 1" | ||
SplittablesBase = "0.1.2" | ||
Tables = "0.2, 1.0" | ||
julia = "1" | ||
julia = "1.6" | ||
|
||
[extensions] | ||
TransducersBlockArraysExt = "BlockArrays" | ||
TransducersDataFramesExt = "DataFrames" | ||
TransducersLazyArraysExt = "LazyArrays" | ||
TransducersOnlineStatsBaseExt = "OnlineStatsBase" | ||
TransducersReferenceablesExt = "Referenceables" | ||
|
||
[extras] | ||
Aqua = "4c88cf16-eb10-579e-8560-4a9242c79595" | ||
|
@@ -51,6 +58,7 @@ LiterateTest = "d77d25b0-90d3-4a16-b10a-412a9d48f625" | |
LoadAllPackages = "b37bcd2d-1570-475d-a8c6-9b4fae6d0ba9" | ||
Maybe = "334f122f-1118-46cc-837f-bff747ee6f78" | ||
OnlineStats = "a15396b6-48d5-5d58-9928-6d29437db91e" | ||
OnlineStatsBase = "925886fa-5bf2-5e8e-b522-a9147a512338" | ||
PerformanceTestTools = "dc46b164-d16f-48ec-a853-60448fc869fe" | ||
Pkg = "44cfe95a-1eb2-52ea-b672-e2afdf69b78f" | ||
Random = "9a3f8284-a2c9-5f02-9a11-845980a1fd5c" | ||
|
@@ -63,4 +71,11 @@ Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40" | |
TypedTables = "9d95f2ec-7b3d-5a63-8d20-e2491e220bb9" | ||
|
||
[targets] | ||
test = ["Aqua", "BlockArrays", "Compat", "DataFrames", "DataTools", "Dates", "Distributed", "Documenter", "Folds", "InteractiveUtils", "LazyArrays", "LiterateTest", "LoadAllPackages", "Maybe", "OnlineStats", "PerformanceTestTools", "Pkg", "Random", "Referenceables", "SparseArrays", "StaticArrays", "Statistics", "StructArrays", "Test", "TypedTables"] | ||
test = ["Aqua", "BlockArrays", "Compat", "DataFrames", "DataTools", "Dates", "Distributed", "Documenter", "Folds", "InteractiveUtils", "LazyArrays", "LiterateTest", "LoadAllPackages", "Maybe", "OnlineStats", "OnlineStatsBase", "PerformanceTestTools", "Pkg", "Random", "Referenceables", "SparseArrays", "StaticArrays", "Statistics", "StructArrays", "Test", "TypedTables"] | ||
|
||
[weakdeps] | ||
BlockArrays = "8e7c35d0-a365-5155-bbbb-fb81a777f24e" | ||
DataFrames = "a93c6f00-e57d-5684-b7b6-d8193f3e46c0" | ||
LazyArrays = "5078a376-72f3-5289-bfd5-ec5146d43c02" | ||
OnlineStatsBase = "925886fa-5bf2-5e8e-b522-a9147a512338" | ||
Referenceables = "42d2dcc6-99eb-4e98-b66c-637b7d73030e" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
module TransducersDataFramesExt | ||
|
||
if isdefined(Base, :get_extension) | ||
using Transducers | ||
using DataFrames | ||
else | ||
using ..Transducers | ||
using ..DataFrames | ||
end | ||
|
||
Transducers.asfoldable(df::DataFrames.AbstractDataFrame) = DataFrames.eachrow(df) | ||
# We can't use `Compat.eachrow` here. See: | ||
# https://github.com/JuliaData/DataFrames.jl/pull/2067 | ||
|
||
end #module |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
6540960
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@JuliaRegistrator register
6540960
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Registration pull request created: JuliaRegistries/General/86325
After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.
This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via: