Skip to content

Commit

Permalink
Merge pull request #165 from JuliaMolSim/fix-failing-CI
Browse files Browse the repository at this point in the history
  • Loading branch information
cortner committed Apr 4, 2023
2 parents 7860cc5 + d5d5418 commit 3d23cd8
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 5 deletions.
13 changes: 9 additions & 4 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ jobs:
os:
- ubuntu-latest
- macOS-latest
- windows-latest
arch:
- x64
steps:
Expand All @@ -22,10 +21,14 @@ jobs:
with:
version: ${{ matrix.version }}
arch: ${{ matrix.arch }}
- name: Install Python dependencies
run: pip3 install "numpy<1.24" ase
- name: Add MolSim registry
run: julia -e 'using Pkg; pkg"registry add https://github.com/JuliaMolSim/MolSim.git"'
run: julia -e 'using Pkg; pkg"registry add General"; pkg"registry add https://github.com/JuliaMolSim/MolSim.git"'
- name: Install Python dependencies
run: |
julia --project=. -e 'using Pkg; Pkg.add("PyCall")'
PYTHON=$(which $(julia --project=. -e 'using PyCall; print(PyCall.python)'))
echo "Julia is using PYTHON=$PYTHON"
$(dirname $PYTHON)/pip install "numpy<1.24" ase
- uses: actions/cache@v1
env:
cache-name: cache-artifacts
Expand All @@ -37,6 +40,8 @@ jobs:
${{ runner.os }}-test-
${{ runner.os }}-
- uses: julia-actions/julia-buildpkg@v1
# - name: Setup tmate session
# uses: mxschmitt/action-tmate@v3
- uses: julia-actions/julia-runtest@v1
env:
DATADEPS_ALWAYS_ACCEPT: true
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ Reexport = "1"
Requires = "1"
StaticArrays = "1"
ZipFile = "0.10"
julia = "1.7"
julia = "1"

[extras]
ASE = "51974c44-a7ed-5088-b8be-3e78c8ba416c"
Expand Down

0 comments on commit 3d23cd8

Please sign in to comment.