Skip to content

Commit 43d4ab0

Browse files
workflows
1 parent 6732625 commit 43d4ab0

File tree

2 files changed

+17
-16
lines changed

2 files changed

+17
-16
lines changed

.github/workflows/tests_GNNGraphs.yml renamed to .github/workflows/test_GNNGraphs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
fail-fast: false
1515
matrix:
1616
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.
1818
- '1' # '1' will automatically expand to the latest stable 1.x release of Julia.
1919
# - 'pre'
2020
os:

.github/workflows/tests_GraphNeuralNetworks.yml renamed to .github/workflows/test_GraphNeuralNetworks.yml

Lines changed: 16 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -14,34 +14,35 @@ jobs:
1414
fail-fast: false
1515
matrix:
1616
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.
1818
- '1' # '1' will automatically expand to the latest stable 1.x release of Julia.
1919
# - 'pre'
2020
os:
2121
- ubuntu-latest
2222
arch:
2323
- x64
24-
env: # Don't use system Python (needed by PyCall)
25-
PYTHON: ""
24+
2625
steps:
2726
- uses: actions/checkout@v4
2827
- uses: julia-actions/setup-julia@v2
2928
with:
3029
version: ${{ matrix.version }}
3130
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
4232
- 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)
4442
- uses: julia-actions/julia-processcoverage@v1
43+
with:
44+
# directories: ./GraphNeuralNetworks/src, ./GraphNeuralNetworks/ext
45+
directories: ./GraphNeuralNetworks/src
4546
- uses: codecov/codecov-action@v4
4647
with:
47-
file: lcov.info
48+
files: lcov.info

0 commit comments

Comments
 (0)