Skip to content

Commit

Permalink
Omnibus PR: GitHub Actions CI, fix tests, reorganize docs, remove PyC…
Browse files Browse the repository at this point in the history
…all/SymPy stuff (#184)
  • Loading branch information
DilumAluthge authored Sep 4, 2020
1 parent 055288c commit a2dc949
Show file tree
Hide file tree
Showing 71 changed files with 493 additions and 784 deletions.
9 changes: 3 additions & 6 deletions .github/workflows/CompatHelper.yml
Original file line number Diff line number Diff line change
@@ -1,19 +1,16 @@
name: CompatHelper

on:
schedule:
- cron: '00 00 * * *'

- cron: 0 0 * * *
workflow_dispatch:
jobs:
CompatHelper:
runs-on: ubuntu-latest
steps:
- uses: julia-actions/setup-julia@latest
with:
version: 1.3
- name: Pkg.add("CompatHelper")
run: julia -e 'using Pkg; Pkg.add("CompatHelper")'
- name: CompatHelper.main()
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
COMPATHELPER_PRIV: ${{ secrets.DOCUMENTER_KEY }}
run: julia -e 'using CompatHelper; CompatHelper.main()'
4 changes: 3 additions & 1 deletion .github/workflows/TagBot.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
name: TagBot
on:
schedule:
- cron: 0 * * * *
- cron: 0 0 * * *
workflow_dispatch:
jobs:
TagBot:
runs-on: ubuntu-latest
steps:
- uses: JuliaRegistries/TagBot@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}
ssh: ${{ secrets.DOCUMENTER_KEY }}
65 changes: 65 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@
name: CI
on:
pull_request:
branches:
- master
push:
branches:
- master
tags: '*'
schedule:
- cron: '44 9 16 * *' # run the cron job one time per month
jobs:
test:
name: Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }} - ${{ github.event_name }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
version:
- '1.4'
- '1'
- 'nightly'
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@latest
- uses: julia-actions/julia-runtest@latest
- 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 docs/make.jl
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
DOCUMENTER_KEY: ${{ secrets.DOCUMENTER_KEY }}
11 changes: 7 additions & 4 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,9 +1,12 @@
*.jl.cov
*.jl.*.cov
*.jl.cov
*.jl.mem
deps/deps.jl
src/sandbox.jl
.DS_Store
/deps/deps.jl
/docs/build/
/src/sandbox.jl
Manifest.toml
Soss.code-workspace
cache/
example-*.md
tracefile*.info
cache/
36 changes: 0 additions & 36 deletions .travis.yml

This file was deleted.

1 change: 0 additions & 1 deletion CITATION.bib
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ @misc{Soss.jl
author = {Chad Scherrer},
title = {{Soss.jl}},
url = {https://github.com/cscherrer/Soss.jl},
version = {v0.5.0},
year = {2019},
month = {9}
}
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) 2017 Chad Scherrer
Copyright (c) 2020 Chad Scherrer

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
22 changes: 0 additions & 22 deletions LICENSE.md

This file was deleted.

19 changes: 13 additions & 6 deletions Project.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name = "Soss"
uuid = "8ce77f84-9b61-11e8-39ff-d17a774bf41c"
author = ["Chad Scherrer <[email protected]>"]
version = "0.13.1"
version = "0.14.0-DEV"

[deps]
AdvancedHMC = "0bf59076-c3b1-5ca4-86bd-e02cd72cde3d"
Expand All @@ -23,7 +23,6 @@ MacroTools = "1914dd2f-81c6-5fcd-8719-6d5c9610ff09"
MonteCarloMeasurements = "0987c9cc-fe09-11e8-30f0-b96dd679fdca"
NamedTupleTools = "d9ec5142-1e00-5aa0-9d6a-321866360f50"
Printf = "de0858da-6303-5e67-8744-51eddeeeb8d7"
PyCall = "438e738f-606a-5dbb-bf0a-cddfbfd45ab0"
Random = "9a3f8284-a2c9-5f02-9a11-845980a1fd5c"
RecipesBase = "3cdcf5f2-1ef4-517c-9805-6587b60abb01"
Reexport = "189a3867-3050-52da-a836-e630ba90ab69"
Expand All @@ -36,7 +35,6 @@ SimplePosets = "b2aef97b-4721-5af9-b440-0bad754dc5ba"
SpecialFunctions = "276daf66-3868-5448-9aa4-cd146d93841b"
Statistics = "10745b16-79ce-11e8-11f9-7d13ad32a3b2"
StatsFuns = "4c63d2b9-4356-54db-8cca-17b64c39e42c"
SymPy = "24249f21-da20-56a4-8eb1-6a02cf4ae2e6"
TransformVariables = "84d833dd-6860-57f9-a1a7-6da5db126cff"

[compat]
Expand All @@ -56,7 +54,6 @@ MLStyle = "0.3, 0.4"
MacroTools = "0.5"
MonteCarloMeasurements = "0.6,0.7, 0.8, 0.9"
NamedTupleTools = "0.12, 0.13"
PyCall = "1.91"
RecipesBase = "0.7,0.8, 1.0"
Reexport = "0.2"
Requires = "1.0"
Expand All @@ -67,6 +64,16 @@ SimplePartitions = "0.2, 0.3"
SimplePosets = "0.0, 0.1"
SpecialFunctions = "0.10"
StatsFuns = "0.9"
SymPy = "1.0"
TransformVariables = "0.3"
julia = "^1.3"
julia = "1.4"

[extras]
Documenter = "e30172f5-a6a5-5a46-863b-614d45cd2de4"
Literate = "98b081ad-f1c9-55d3-8b20-4c87d4299306"
Plots = "91a5bcdd-55d7-5caf-9e0b-520d859cae80"
Random = "9a3f8284-a2c9-5f02-9a11-845980a1fd5c"
StableRNGs = "860ef19b-820b-49d6-a774-d7a799459cd3"
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"

[targets]
test = ["Documenter", "Literate", "Plots", "Random", "StableRNGs", "Test"]
Loading

0 comments on commit a2dc949

Please sign in to comment.