-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* migrate to top-level test project and add compats * CI config * docs update * add YAS enforcer * README update * s/hide_progress/progress and remove threads in nonparametricbootstrap * s/hide_progress/progress and remove threads in permutation * fix deprecation warning for Cholesky * YAS * update author list
- Loading branch information
Showing
22 changed files
with
540 additions
and
483 deletions.
There are no files selected for viewing
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,52 @@ | ||
--- | ||
name: YAS Enforcer | ||
on: | ||
push: | ||
branches: | ||
- main | ||
- /^release-.*$/ | ||
tags: ["*"] | ||
paths: | ||
- "**/*.jl" | ||
- ".github/workflows/FormatCheck.yml" | ||
pull_request: | ||
types: [opened, synchronize, reopened, ready_for_review] | ||
paths: | ||
- "**/*.jl" | ||
- ".github/workflows/FormatCheck.yml" | ||
jobs: | ||
format-check: | ||
name: YASStyle | ||
# These permissions are needed to: | ||
# - Delete old caches: https://github.com/julia-actions/cache#usage | ||
# - Post formatting suggestions: https://github.com/reviewdog/action-suggester#required-permissions | ||
permissions: | ||
actions: write | ||
contents: read | ||
pull-requests: write | ||
runs-on: ubuntu-latest | ||
continue-on-error: true | ||
strategy: | ||
fail-fast: false | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: julia-actions/setup-julia@v1 | ||
with: | ||
version: "1" | ||
- uses: julia-actions/cache@v1 | ||
- name: Install JuliaFormatter | ||
shell: julia --project=@format --color=yes {0} | ||
run: | | ||
using Pkg | ||
Pkg.add(PackageSpec(; name="JuliaFormatter", version="1")) | ||
- name: Check formatting | ||
shell: julia --project=@format --color=yes {0} | ||
run: | | ||
using JuliaFormatter | ||
format(["src", "test", "docs"], YASStyle(); verbose=true) | ||
# Add formatting suggestions to non-draft PRs when "Check formatting" fails | ||
- uses: reviewdog/action-suggester@v1 | ||
if: ${{ github.event_name == 'pull_request' && github.event.pull_request.draft == false }} | ||
with: | ||
tool_name: JuliaFormatter | ||
fail_on_error: true |
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 |
---|---|---|
@@ -1,7 +1,7 @@ | ||
name = "MixedModelsPermutations" | ||
uuid = "647c4018-d7ef-4d03-a0cc-8889a722319e" | ||
authors = ["Phillip Alday <[email protected]> and contributors"] | ||
version = "0.2.1" | ||
authors = ["Phillip Alday <[email protected]>", "Benedikt Ehinger <[email protected]>", "Jaromil Frossard <[email protected]>"] | ||
version = "0.2.0" | ||
|
||
[deps] | ||
BlockDiagonals = "0a1fb500-61f7-11e9-3c65-f5ef3456f9f0" | ||
|
@@ -16,11 +16,25 @@ StatsModels = "3eaba693-59b7-5ba5-a881-562e759f1c8d" | |
Tables = "bd369af6-aec1-5ad0-b16a-f7cc5008161c" | ||
|
||
[compat] | ||
Aqua = "0.8" | ||
DataFrames = "1" | ||
BlockDiagonals = "0.1.18" | ||
MixedModels = "4.2.1" | ||
MixedModels = "4.22" | ||
MixedModelsSim = "0.2.9" | ||
StableRNGs = "1" | ||
StaticArrays = "1.0" | ||
Statistics = "1" | ||
StatsBase = "0.33, 0.34" | ||
StatsModels = "0.6, 0.7" | ||
Tables = "1.0" | ||
julia = "1.6" | ||
Tables = "1" | ||
julia = "1.9" | ||
|
||
[extras] | ||
Aqua = "4c88cf16-eb10-579e-8560-4a9242c79595" | ||
DataFrames = "a93c6f00-e57d-5684-b7b6-d8193f3e46c0" | ||
MixedModelsSim = "d5ae56c5-23ca-4a1f-b505-9fc4796fc1fe" | ||
StableRNGs = "860ef19b-820b-49d6-a774-d7a799459cd3" | ||
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40" | ||
|
||
[targets] | ||
test = ["Aqua", "Test", "DataFrames", "MixedModelsSim", "StableRNGs"] |
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 |
---|---|---|
@@ -1,12 +1,9 @@ | ||
using Documenter | ||
using MixedModelsPermutations | ||
|
||
makedocs( | ||
sitename = "MixedModelsPermutations", | ||
doctest = true, | ||
pages = [ | ||
"index.md", | ||
], | ||
) | ||
makedocs(; sitename="MixedModelsPermutations", | ||
doctest=true, | ||
pages=["index.md"]) | ||
|
||
deploydocs(repo = "github.com/palday/MixedModelsPermutations.jl.git", push_preview=true, devbranch="main") | ||
deploydocs(; repo="github.com/palday/MixedModelsPermutations.jl.git", push_preview=true, | ||
devbranch="main") |
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
Oops, something went wrong.
86d26da
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
86d26da
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/104211
Tip: Release Notes
Did you know you can add release notes too? Just add markdown formatted text underneath the comment after the text
"Release notes:" and it will be added to the registry PR, and if TagBot is installed it will also be added to the
release that TagBot creates. i.e.
To add them here just re-invoke and the PR will be updated.
Tagging
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:
86d26da
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
Release notes:
permutationtest
(thanks @behinger!)progress
instead ofhide_progress
use_threads
86d26da
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 updated: JuliaRegistries/General/104211
Tagging
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: