Skip to content

Commit

Permalink
Change Matplotlib installation (#62)
Browse files Browse the repository at this point in the history
* Use Bash for all platforms

* Use setup-python

* Cache pip without setup-python

* Bump patch
  • Loading branch information
henry2004y authored Oct 14, 2024
1 parent 77e9d72 commit 4fdcbe6
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 7 deletions.
24 changes: 18 additions & 6 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,16 @@ jobs:
arch:
- x64
steps:
- name: Install dependencies
run: |
pip install matplotlib
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: '3'
- uses: actions/cache@v4
with:
path: ~/.cache/pip
key: ${{ runner.os }}-pip
- run: pip install matplotlib
shell: bash
- uses: julia-actions/setup-julia@v2
with:
version: ${{ matrix.version }}
Expand All @@ -51,10 +57,16 @@ jobs:
name: Documentation
runs-on: ubuntu-latest
steps:
- name: Install dependencies
run: |
pip install matplotlib
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: '3'
- uses: actions/cache@v4
with:
path: ~/.cache/pip
key: ${{ runner.os }}-pip
- run: pip install matplotlib
shell: bash
- uses: julia-actions/setup-julia@v2
with:
version: '1'
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 = "Batsrus"
uuid = "e74ebddf-6ac1-4047-a0e5-c32c99e57753"
authors = ["Hongyang Zhou <[email protected]>"]
version = "0.6.6"
version = "0.6.7"

[deps]
FortranFiles = "c58ffaec-ab22-586d-bfc5-781a99fd0b10"
Expand Down

2 comments on commit 4fdcbe6

@henry2004y
Copy link
Owner 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/117257

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.6.7 -m "<description of version>" 4fdcbe6f7aadcab12b70238c552522b6cc94d3f3
git push origin v0.6.7

Please sign in to comment.