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"
20 changes: 0 additions & 20 deletions .github/workflows/jlpkgbutler-butler-workflow.yml

This file was deleted.

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

This file was deleted.

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

This file was deleted.

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

This file was deleted.

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

This file was deleted.

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

This file was deleted.

13 changes: 0 additions & 13 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*.*
1 change: 0 additions & 1 deletion .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 IteratorInterfaceExtensions.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
7 changes: 4 additions & 3 deletions Project.toml
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
name = "IteratorInterfaceExtensions"
uuid = "82899510-4779-5014-852e-03e436cf321d"
version = "1.0.1-DEV"
version = "1.1.0-DEV"

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

[targets]
test = ["Test"]
test = ["Test", "TestItemRunner"]

[compat]
julia = "0.7, 1"
julia = "1.12"
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
# IteratorInterfaceExtensions

[![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/IteratorInterfaceExtensions.jl.svg?branch=master)](https://travis-ci.org/queryverse/IteratorInterfaceExtensions.jl)
[![Build status](https://ci.appveyor.com/api/projects/status/4rq8seb3j1wd7wpp/branch/master?svg=true)](https://ci.appveyor.com/project/queryverse/iteratorinterfaceextensions-jl/branch/master)
[![Build Status](https://github.com/queryverse/IteratorInterfaceExtensions.jl/actions/workflows/juliaci.yml/badge.svg?branch=main)](https://github.com/queryverse/IteratorInterfaceExtensions.jl/actions/workflows/juliaci.yml)
[![codecov.io](http://codecov.io/github/queryverse/IteratorInterfaceExtensions.jl/coverage.svg?branch=master)](http://codecov.io/github/queryverse/IteratorInterfaceExtensions.jl?branch=master)

IteratorInterfaceExtensions defines a small number of extensions to the iterator interface.
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, IteratorInterfaceExtensions
makedocs(
modules = [IteratorInterfaceExtensions],
sitename = "IteratorInterfaceExtensions.jl",
analytics="UA-132838790-1",
format = Documenter.HTML(analytics = "UA-132838790-1"),
warnonly = [:missing_docs],
pages = [
"Introduction" => "index.md"
]
Expand Down
19 changes: 3 additions & 16 deletions test/runtests.jl
Original file line number Diff line number Diff line change
@@ -1,18 +1,5 @@
using IteratorInterfaceExtensions
using Test
using TestItemRunner

struct MyType
end
include("test_iteratorinterfaceextensions.jl")

@testset "IteratorInterfaceExtensions" begin

@test isiterable(MyType()) == false
@test isiterable([1,2,3]) == true

@test_throws ErrorException getiterator(MyType())

@test [1,2,3] == getiterator([1,2,3])

@test IteratorSize2([1,2,3]) == Base.HasShape{1}()

end
@run_package_tests
13 changes: 13 additions & 0 deletions test/test_iteratorinterfaceextensions.jl
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
@testitem "IteratorInterfaceExtensions" begin
struct MyType
end

@test isiterable(MyType()) == false
@test isiterable([1,2,3]) == true

@test_throws ErrorException getiterator(MyType())

@test [1,2,3] == getiterator([1,2,3])

@test IteratorSize2([1,2,3]) == Base.HasShape{1}()
end
Loading