diff --git a/.github/workflows/tests_GNNGraphs.yml b/.github/workflows/test_GNNGraphs.yml similarity index 93% rename from .github/workflows/tests_GNNGraphs.yml rename to .github/workflows/test_GNNGraphs.yml index 3d28ee93c..f495a3b2d 100644 --- a/.github/workflows/tests_GNNGraphs.yml +++ b/.github/workflows/test_GNNGraphs.yml @@ -14,7 +14,7 @@ jobs: fail-fast: false matrix: version: - - '1.10' # Replace this with the minimum Julia version that your package supports. + - '1.9' # Replace this with the minimum Julia version that your package supports. - '1' # '1' will automatically expand to the latest stable 1.x release of Julia. # - 'pre' os: diff --git a/.github/workflows/tests_GraphNeuralNetworks.yml b/.github/workflows/test_GraphNeuralNetworks.yml similarity index 57% rename from .github/workflows/tests_GraphNeuralNetworks.yml rename to .github/workflows/test_GraphNeuralNetworks.yml index 0140dab69..a2365b766 100644 --- a/.github/workflows/tests_GraphNeuralNetworks.yml +++ b/.github/workflows/test_GraphNeuralNetworks.yml @@ -14,34 +14,35 @@ jobs: fail-fast: false matrix: version: - - '1.10' # Replace this with the minimum Julia version that your package supports. + - '1.9' # Replace this with the minimum Julia version that your package supports. - '1' # '1' will automatically expand to the latest stable 1.x release of Julia. # - 'pre' os: - ubuntu-latest arch: - x64 - env: # Don't use system Python (needed by PyCall) - PYTHON: "" + steps: - uses: actions/checkout@v4 - uses: julia-actions/setup-julia@v2 with: version: ${{ matrix.version }} arch: ${{ matrix.arch }} - - uses: actions/cache@v4 - env: - cache-name: cache-artifacts - with: - path: ~/.julia/artifacts - key: ${{ runner.os }}-test-${{ env.cache-name }}-${{ hashFiles('**/Project.toml') }} - restore-keys: | - ${{ runner.os }}-test-${{ env.cache-name }}- - ${{ runner.os }}-test- - ${{ runner.os }}- + - uses: julia-actions/cache@v2 - uses: julia-actions/julia-buildpkg@v1 - - uses: julia-actions/julia-runtest@v1 + - name: Install Julia dependencies and run tests + shell: julia --project=monorepo {0} + run: | + using Pkg + # dev mono repo versions + pkg"registry up" + Pkg.update() + pkg"dev ./GNNGraphs ." + Pkg.test("GraphNeuralNetworks"; coverage=true) - uses: julia-actions/julia-processcoverage@v1 + with: + # directories: ./GraphNeuralNetworks/src, ./GraphNeuralNetworks/ext + directories: ./GraphNeuralNetworks/src - uses: codecov/codecov-action@v4 with: - file: lcov.info + files: lcov.info