Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use test-specific Project.toml and clean up workflows #150

Merged
merged 10 commits into from
Jan 18, 2022
18 changes: 14 additions & 4 deletions .github/workflows/VersionVigilante.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,16 +22,26 @@ jobs:
- name: ✅ Un-Labeller (if success)
if: (steps.versionvigilante_main.outputs.compare_versions == 'success') && (success() || failure())
continue-on-error: true
uses: actions/github-script@0.3.0
uses: actions/github-script@v5
with:
github-token: ${{secrets.GITHUB_TOKEN}}
script: |
github.issues.removeLabel({...context.issue, name: 'needs version bump'})
github.rest.issues.removeLabel({
issue_number: context.issue.number,
owner: context.repo.owner,
repo: context.repo.repo,
name: 'needs version bump'
})
- name: ❌ Labeller (if failure)
if: (steps.versionvigilante_main.outputs.compare_versions == 'failure') && (success() || failure())
continue-on-error: true
uses: actions/github-script@0.3.0
uses: actions/github-script@v5
with:
github-token: ${{secrets.GITHUB_TOKEN}}
script: |
github.issues.addLabels({...context.issue, labels: ['needs version bump']})
github.rest.issues.addLabels({
issue_number: context.issue.number,
owner: context.repo.owner,
repo: context.repo.repo,
labels: ['needs version bump']
})
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
strategy:
fail-fast: false
matrix:
julia-version: [1.0, 1]
julia-version: ["1.6", "1"]
os: [ubuntu-latest]
steps:
- uses: actions/checkout@v2
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/format_check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
- uses: julia-actions/setup-julia@latest
with:
version: 1
- uses: actions/checkout@v1
- uses: actions/checkout@v2
- name: Install JuliaFormatter
run: |
using Pkg
Expand Down
19 changes: 1 addition & 18 deletions Project.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name = "ArviZ"
uuid = "131c737c-5715-5e2e-ad31-c244f01c1dc7"
authors = ["Seth Axen <seth.axen@gmail.com>"]
version = "0.5.9"
version = "0.5.10"

[deps]
Conda = "8f4d0f93-b110-5947-807f-2305c1781a2d"
Expand All @@ -17,30 +17,13 @@ Requires = "ae029012-a4dd-5104-9daa-d747884805df"
StatsBase = "2913bbd2-ae8a-5f71-8c99-4fb6c76f3a91"

[compat]
CmdStan = "5.2.3, 6.0"
Conda = "1.0"
DataFrames = "0.20, 0.21, 0.22, 1.0"
LogExpFunctions = "0.2.0, 0.3"
MCMCChains = "0.3.15, 0.4, 1.0, 2.0, 3.0, 4.0, 5.0"
MonteCarloMeasurements = "0.6.4, 0.7, 0.8, 1"
NamedTupleTools = "0.11.0, 0.12, 0.13"
PSIS = "0.2"
PyCall = "1.91.2"
PyPlot = "2.8.2"
Requires = "0.5.2, 1.0"
SampleChains = "0.5"
SampleChainsDynamicHMC = "0.3"
StatsBase = "0.32, 0.33"
julia = "^1"

[extras]
CmdStan = "593b3428-ca2f-500c-ae53-031589ec8ddd"
MCMCChains = "c7f686f2-ff18-58e9-bc7b-31028e88f75d"
MonteCarloMeasurements = "0987c9cc-fe09-11e8-30f0-b96dd679fdca"
Random = "9a3f8284-a2c9-5f02-9a11-845980a1fd5c"
SampleChains = "754583d1-7fc4-4dab-93b5-5eaca5c9622e"
SampleChainsDynamicHMC = "6d9fd711-e8b2-4778-9c70-c1dfb499d4c4"
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"

[targets]
test = ["CmdStan", "MCMCChains", "MonteCarloMeasurements", "Random", "SampleChains", "SampleChainsDynamicHMC", "Test"]
21 changes: 21 additions & 0 deletions test/Project.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
[deps]
CmdStan = "593b3428-ca2f-500c-ae53-031589ec8ddd"
DataFrames = "a93c6f00-e57d-5684-b7b6-d8193f3e46c0"
MCMCChains = "c7f686f2-ff18-58e9-bc7b-31028e88f75d"
MonteCarloMeasurements = "0987c9cc-fe09-11e8-30f0-b96dd679fdca"
PyCall = "438e738f-606a-5dbb-bf0a-cddfbfd45ab0"
PyPlot = "d330b81b-6aea-500a-939a-2ce795aea3ee"
Random = "9a3f8284-a2c9-5f02-9a11-845980a1fd5c"
SampleChains = "754583d1-7fc4-4dab-93b5-5eaca5c9622e"
SampleChainsDynamicHMC = "6d9fd711-e8b2-4778-9c70-c1dfb499d4c4"
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"

[compat]
CmdStan = "5.2.3, 6.0"
DataFrames = "0.20, 0.21, 0.22, 1.0"
MCMCChains = "0.3.15, 0.4, 1.0, 2.0, 3.0, 4.0, 5.0"
MonteCarloMeasurements = "0.6.4, 0.7, 0.8, 1"
PyCall = "1.91.2"
PyPlot = "2.8.2"
SampleChains = "0.5"
SampleChainsDynamicHMC = "0.3"