Update README.md #456
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: GNNGraphs | |
on: | |
pull_request: | |
branches: | |
- master | |
push: | |
branches: | |
- master | |
jobs: | |
test: | |
name: Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }} | |
runs-on: ${{ matrix.os }} | |
strategy: | |
fail-fast: false | |
matrix: | |
version: | |
- '1.10' # 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 | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: julia-actions/setup-julia@v2 | |
with: | |
version: ${{ matrix.version }} | |
arch: ${{ matrix.arch }} | |
- uses: julia-actions/cache@v2 | |
- uses: julia-actions/julia-buildpkg@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("GNNGraphs"; coverage=true) | |
- uses: julia-actions/julia-processcoverage@v1 | |
with: | |
directories: GNNGraphs/src,GNNGraphs/ext | |
- uses: codecov/codecov-action@v5 | |
with: | |
token: ${{ secrets.CODECOV_TOKEN }} | |
files: lcov.info |