Skip to content

Commit

Permalink
Merge pull request #7 from storopoli/move-Graphs
Browse files Browse the repository at this point in the history
Move from LightGraphs.jl to Graphs.jl
  • Loading branch information
matbesancon authored Oct 23, 2021
2 parents 7d8468c + af65cea commit 937d3f6
Show file tree
Hide file tree
Showing 10 changed files with 100 additions and 48 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/CompatHelper.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: CompatHelper

on:
schedule:
- cron: 0 * * * *

jobs:
CompatHelper:
runs-on: ubuntu-latest
steps:
- name: Pkg.add("CompatHelper")
run: julia -e 'using Pkg; Pkg.add("CompatHelper")'
- name: CompatHelper.main()
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: julia -e 'using CompatHelper; CompatHelper.main()'
12 changes: 12 additions & 0 deletions .github/workflows/TagBot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
name: TagBot
on:
schedule:
- cron: 30 * * * *
workflow_dispatch:
jobs:
TagBot:
runs-on: ubuntu-latest
steps:
- uses: JuliaRegistries/TagBot@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}
44 changes: 44 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
name: CI
on:
pull_request:
branches:
- master
push:
branches:
- master
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'
os:
- ubuntu-latest
arch:
- x64
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
9 changes: 8 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
.DS_Store
*.jl.cov
*.jl.*.cov
*.jl.mem
.vscode
docs/build/
docs/site/
benchmark/.results/*
benchmark/.tune.jld
*.cov
Manifest.toml
25 changes: 0 additions & 25 deletions .travis.yml

This file was deleted.

17 changes: 17 additions & 0 deletions Project.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name = "SNAPDatasets"
uuid = "fc66bc1b-447b-53fc-8f09-bc9cfb0b0c10"
authors = ["JuliaGraphs"]
version = "0.2.0"

[deps]
Graphs = "86223c79-3864-5bf0-83f7-82e725a168b6"

[compat]
Graphs = "1.4"
julia = "1"

[extras]
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"

[targets]
test = ["Test"]
6 changes: 2 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,11 @@
# SNAPDatasets

[![Build Status](https://travis-ci.org/JuliaGraphs/SNAPDatasets.jl.svg?branch=master)](https://travis-ci.org/JuliaGraphs/SNAPDatasets.jl)
[![Build Status](https://github.com/JuliaGraphs/SNAPDatasets.jl/workflows/CI/badge.svg)](https://github.com/JuliaGraphs/SNAPDatasets.jl/actions?query=workflow%3ACI+branch%3Amaster)
[![codecov.io](http://codecov.io/github/JuliaGraphs/SNAPDatasets.jl/coverage.svg?branch=master)](http://codecov.io/github/JuliaGraphs/SNAPDatasets.jl?branch=master)


[LightGraphs.jl](https://github.com/JuliaGraphs/LightGraphs.jl)-formatted
[Graphs.jl](https://github.com/JuliaGraphs/Graphs.jl)-formatted
graph files taken from the [SNAP Datasets](https://snap.stanford.edu/data/index.html) collection.


Example usage:
```julia
using SNAPDatasets
Expand Down
2 changes: 0 additions & 2 deletions REQUIRE

This file was deleted.

15 changes: 0 additions & 15 deletions codecov.yml

This file was deleted.

2 changes: 1 addition & 1 deletion src/SNAPDatasets.jl
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module SNAPDatasets

using LightGraphs
using Graphs

const SNAPDIR = joinpath(@__DIR__,"..","data")

Expand Down

0 comments on commit 937d3f6

Please sign in to comment.