Skip to content

Commit

Permalink
workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
CarloLucibello committed Jul 24, 2024
1 parent 6732625 commit 43d4ab0
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 16 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 43d4ab0

Please sign in to comment.