From e9477c413f42efefddb2232dd40ec6fcdb317801 Mon Sep 17 00:00:00 2001 From: Kyle Deeds Date: Thu, 14 Nov 2024 11:50:39 -0800 Subject: [PATCH 1/9] Galley CI first try --- .github/workflows/CI.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index f679a615f..92a3f4807 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -104,3 +104,25 @@ jobs: run: | cd finch-tensor-python FINCH_REPO_PATH="${GITHUB_WORKSPACE}" poetry run pytest tests/ + + galley-tests: + name: Galley Tests + runs-on: ubuntu-latest + steps: + - name: Checkout Finch.jl + uses: actions/checkout@v4 + - name: Setup Julia + uses: julia-actions/setup-julia@v1 + with: + version: '1' + - name: Build Finch.jl package + uses: julia-actions/julia-buildpkg@v1 + - name: Checkout Galley + uses: actions/checkout@v4 + with: + repository: kylebd99/Galley + ref: 'main' + path: 'Galley' + - name: Run finch-tensor-python tests + run: | + julia test/runtests From 594bcd7d9bd5845aee230b65e86c758f409d15b8 Mon Sep 17 00:00:00 2001 From: Kyle Deeds Date: Thu, 14 Nov 2024 11:53:27 -0800 Subject: [PATCH 2/9] Update CI.yml --- .github/workflows/CI.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 92a3f4807..f4d8d5bc5 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -123,6 +123,4 @@ jobs: repository: kylebd99/Galley ref: 'main' path: 'Galley' - - name: Run finch-tensor-python tests - run: | - julia test/runtests + - uses: julia-actions/julia-runtest@v1 From 308014d7b1f6fd81ca02dda864e8d63b442aa3ca Mon Sep 17 00:00:00 2001 From: Kyle Deeds Date: Thu, 14 Nov 2024 12:02:26 -0800 Subject: [PATCH 3/9] Update CI.yml --- .github/workflows/CI.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index f4d8d5bc5..75f7eba8f 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -123,4 +123,7 @@ jobs: repository: kylebd99/Galley ref: 'main' path: 'Galley' - - uses: julia-actions/julia-runtest@v1 + - name: Run Galley tests + run: | + cd Galley + julia test/runtests.jl From c36be09884be19470bbaa61e37dfd73e5406de8b Mon Sep 17 00:00:00 2001 From: Kyle Deeds Date: Thu, 14 Nov 2024 12:05:58 -0800 Subject: [PATCH 4/9] Update CI.yml --- .github/workflows/CI.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 75f7eba8f..42c0527ad 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -123,7 +123,7 @@ jobs: repository: kylebd99/Galley ref: 'main' path: 'Galley' - - name: Run Galley tests + - name: Run Galley tests run: | cd Galley julia test/runtests.jl From 978614ae2016ebd65aac508abe33b734666a1965 Mon Sep 17 00:00:00 2001 From: Kyle Deeds Date: Thu, 14 Nov 2024 12:22:36 -0800 Subject: [PATCH 5/9] Update CI.yml --- .github/workflows/CI.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 42c0527ad..1f7f6d5ae 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -126,4 +126,4 @@ jobs: - name: Run Galley tests run: | cd Galley - julia test/runtests.jl + julia --project=test/ -e 'import Pkg; Pkg.develop(path="../Finch.jl"); include("test/runtests.jl")' From 46442525fdc87f19b4fc2370e2abf9cb1fe747e4 Mon Sep 17 00:00:00 2001 From: Kyle Deeds Date: Thu, 14 Nov 2024 12:24:11 -0800 Subject: [PATCH 6/9] Update CI.yml --- .github/workflows/CI.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 1f7f6d5ae..df5a6c6fe 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -126,4 +126,4 @@ jobs: - name: Run Galley tests run: | cd Galley - julia --project=test/ -e 'import Pkg; Pkg.develop(path="../Finch.jl"); include("test/runtests.jl")' + julia --project=test/ -e 'import Pkg; Pkg.develop(path="${GITHUB_WORKSPACE}"); include("test/runtests.jl")' From 96298274ce39418392c9fad841fcfe193fed75fb Mon Sep 17 00:00:00 2001 From: Kyle Deeds Date: Thu, 14 Nov 2024 12:26:47 -0800 Subject: [PATCH 7/9] Update CI.yml --- .github/workflows/CI.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index df5a6c6fe..02c26fb67 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -125,5 +125,7 @@ jobs: path: 'Galley' - name: Run Galley tests run: | + pwd + ls cd Galley - julia --project=test/ -e 'import Pkg; Pkg.develop(path="${GITHUB_WORKSPACE}"); include("test/runtests.jl")' + julia --project=test/ -e 'import Pkg; Pkg.develop(path=""); include("test/runtests.jl")' From 60918bae14f1548ab00bff06f5cdbd29a245191d Mon Sep 17 00:00:00 2001 From: Kyle Deeds Date: Thu, 14 Nov 2024 12:28:15 -0800 Subject: [PATCH 8/9] Update CI.yml --- .github/workflows/CI.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 02c26fb67..602176e77 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -128,4 +128,4 @@ jobs: pwd ls cd Galley - julia --project=test/ -e 'import Pkg; Pkg.develop(path=""); include("test/runtests.jl")' + julia --project=test/ -e 'import Pkg; Pkg.develop(path=".."); include("test/runtests.jl")' From 8e0b06cc344a7b757319f8900e8789e8f8d3a0d7 Mon Sep 17 00:00:00 2001 From: Kyle Deeds Date: Thu, 14 Nov 2024 12:35:01 -0800 Subject: [PATCH 9/9] Update CI.yml --- .github/workflows/CI.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 602176e77..25cbfc963 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -128,4 +128,4 @@ jobs: pwd ls cd Galley - julia --project=test/ -e 'import Pkg; Pkg.develop(path=".."); include("test/runtests.jl")' + julia --project=test/ -e 'import Pkg; Pkg.develop(path=".."); Pkg.develop(path="."); include("test/runtests.jl")'