Skip to content

Commit 7eea486

Browse files
authored
Merge pull request #424 from JuliaPhysics/tests
Run Downgrade on julia-1.10
2 parents 8bbf0e8 + 3df4e13 commit 7eea486

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

.github/workflows/Downgrade.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
runs-on: ubuntu-latest
1818
strategy:
1919
matrix:
20-
version: ['1']
20+
version: ['1.10']
2121
steps:
2222
- uses: actions/checkout@v4
2323
- uses: julia-actions/setup-julia@v2

.github/workflows/ci.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,11 +50,15 @@ jobs:
5050
arch: ${{ matrix.arch }}
5151
- uses: julia-actions/cache@v2
5252
- name: Add LegendJuliaRegistry
53-
run: julia -e 'using Pkg; Pkg.Registry.add(Pkg.RegistrySpec(url = "https://github.com/JuliaRegistries/General")); Pkg.Registry.add(Pkg.RegistrySpec(url = "https://github.com/legend-exp/LegendJuliaRegistry"))'
53+
run: julia -e 'using Pkg; Pkg.Registry.add("General"); Pkg.Registry.add(Pkg.RegistrySpec(url = "https://github.com/legend-exp/LegendJuliaRegistry"))'
5454
shell: bash
5555
- uses: julia-actions/julia-buildpkg@v1
5656
env:
5757
PYTHON: 'Conda'
58+
- name: Remove Geant4 on x86
59+
run: julia --project="test" -e 'using Pkg; Pkg.rm("Geant4")'
60+
shell: bash
61+
if: matrix.arch == 'x86'
5862
- uses: julia-actions/julia-runtest@v1
5963
with:
6064
coverage: ${{ matrix.version == '1' && matrix.os == 'ubuntu-latest' && matrix.arch == 'x64' }}

0 commit comments

Comments
 (0)