Skip to content

Commit

Permalink
Fix broken CI (#27)
Browse files Browse the repository at this point in the history
* Convert set to vector before broadcast

* Increment patch number

* Remove nightly from test suite
  • Loading branch information
sethaxen authored Mar 30, 2024
1 parent e7a1de2 commit 9c7cdce
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
10 changes: 4 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,11 @@ jobs:
strategy:
fail-fast: false
matrix:
julia-version: ["1", "1.8", "nightly"]
os: [ubuntu-latest]
julia-version: ["1"]
os: [ubuntu-latest, macOS-latest, windows-latest]
include:
- julia-version: "1"
os: windows-latest
- julia-version: "1"
os: macOS-latest
- julia-version: "1.8"
os: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: julia-actions/setup-julia@v1
Expand Down
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name = "ArviZPythonPlots"
uuid = "4a6e88f0-2c8e-11ee-0601-e94153f0eada"
authors = ["Seth Axen <[email protected]>"]
version = "0.1.4"
version = "0.1.5"

[deps]
ArviZ = "131c737c-5715-5e2e-ad31-c244f01c1dc7"
Expand Down
4 changes: 3 additions & 1 deletion test/test_xarray.jl
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,9 @@ using Test
@test o isa Py
@test pyisinstance(o, ArviZPythonPlots.xarray.Dataset)

@test issetequal(Symbol.(o.coords.keys()), (:chain, :draw, :shared, :ydim1))
@test issetequal(
Symbol.(collect(o.coords.keys())), (:chain, :draw, :shared, :ydim1)
)
for (dim, coord) in o.coords.items()
@test pyeq(
Bool, pylist(coord.values), pylist(DimensionalData.index(ds, Symbol(dim)))
Expand Down

2 comments on commit 9c7cdce

@sethaxen
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@JuliaRegistrator
Copy link

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/103930

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.

@JuliaRegistrator register

Release notes:

## Breaking changes

- blah

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:

git tag -a v0.1.5 -m "<description of version>" 9c7cdce477edbaf7b6622c098bf8125378cb9dac
git push origin v0.1.5

Please sign in to comment.