@@ -14,34 +14,35 @@ jobs:
14
14
fail-fast : false
15
15
matrix :
16
16
version :
17
- - ' 1.10 ' # Replace this with the minimum Julia version that your package supports.
17
+ - ' 1.9 ' # Replace this with the minimum Julia version that your package supports.
18
18
- ' 1' # '1' will automatically expand to the latest stable 1.x release of Julia.
19
19
# - 'pre'
20
20
os :
21
21
- ubuntu-latest
22
22
arch :
23
23
- x64
24
- env : # Don't use system Python (needed by PyCall)
25
- PYTHON : " "
24
+
26
25
steps :
27
26
- uses : actions/checkout@v4
28
27
- uses : julia-actions/setup-julia@v2
29
28
with :
30
29
version : ${{ matrix.version }}
31
30
arch : ${{ matrix.arch }}
32
- - uses : actions/cache@v4
33
- env :
34
- cache-name : cache-artifacts
35
- with :
36
- path : ~/.julia/artifacts
37
- key : ${{ runner.os }}-test-${{ env.cache-name }}-${{ hashFiles('**/Project.toml') }}
38
- restore-keys : |
39
- ${{ runner.os }}-test-${{ env.cache-name }}-
40
- ${{ runner.os }}-test-
41
- ${{ runner.os }}-
31
+ - uses : julia-actions/cache@v2
42
32
- uses : julia-actions/julia-buildpkg@v1
43
- - uses : julia-actions/julia-runtest@v1
33
+ - name : Install Julia dependencies and run tests
34
+ shell : julia --project=monorepo {0}
35
+ run : |
36
+ using Pkg
37
+ # dev mono repo versions
38
+ pkg"registry up"
39
+ Pkg.update()
40
+ pkg"dev ./GNNGraphs ."
41
+ Pkg.test("GraphNeuralNetworks"; coverage=true)
44
42
- uses : julia-actions/julia-processcoverage@v1
43
+ with :
44
+ # directories: ./GraphNeuralNetworks/src, ./GraphNeuralNetworks/ext
45
+ directories : ./GraphNeuralNetworks/src
45
46
- uses : codecov/codecov-action@v4
46
47
with :
47
- file : lcov.info
48
+ files : lcov.info
0 commit comments