Skip to content

Commit

Permalink
[CI] Use PkgServer to run the tests
Browse files Browse the repository at this point in the history
PkgServer **should** be a bit more reliable these days, downloading artifacts
from there tends also to be more reliable than directly from GitHub.
  • Loading branch information
giordano committed Nov 21, 2021
1 parent 8cf5337 commit c213d27
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ on:
release:

env:
JULIA_PKG_SERVER: ""
BINARYBUILDER_FULL_SHARD_TEST: true
BINARYBUILDER_AUTOMATIC_APPLE: true

Expand Down Expand Up @@ -49,7 +48,9 @@ jobs:
- uses: julia-actions/julia-buildpkg@latest
- name: System info
run: julia --project=. --color=yes -e "using BinaryBuilderBase; BinaryBuilderBase.versioninfo()"
- uses: julia-actions/julia-runtest@latest
- name: Run tests
run: |
julia --check-bounds=yes --color=yes --depwarn=yes --inline=yes --project=@. -e 'using Pkg; Pkg.instantiate(); Pkg.test(coverage=true)'
- uses: julia-actions/julia-uploadcodecov@v0.1
continue-on-error: true
- uses: julia-actions/julia-uploadcoveralls@v0.1
Expand All @@ -58,6 +59,8 @@ jobs:
Documentation:
timeout-minutes: 30
runs-on: ubuntu-latest
env:
JULIA_PKG_SERVER: ""
steps:
- uses: actions/checkout@v2
- uses: julia-actions/setup-julia@latest
Expand Down

2 comments on commit c213d27

@giordano
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/49121

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 v1.0.4 -m "<description of version>" c213d27e79009bf6e2b242965484808604e07902
git push origin v1.0.4

Please sign in to comment.