Skip to content

Commit 679fe7a

Browse files
committed
Update test workflow to use local version of test utils
1 parent a409148 commit 679fe7a

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

.github/workflows/CI.yml

+9-2
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,15 @@ jobs:
3838
${{ runner.os }}-test-${{ env.cache-name }}-
3939
${{ runner.os }}-test-
4040
${{ runner.os }}-
41-
- uses: julia-actions/julia-buildpkg@v1
42-
- uses: julia-actions/julia-runtest@v1
41+
- uses: julia-actions/julia-buildpkg@latest
42+
- name: Run tests
43+
shell: julia --color=yes --project=. {0}
44+
run: |
45+
using Pkg
46+
# force it to use this PR's version of the test utilities subpackage
47+
Pkg.develop(PackageSpec(path="."))
48+
Pkg.develop(PackageSpec(path=joinpath(".", "lib", "AbstractFFTsTestUtils")))
49+
Pkg.test(coverage=true)
4350
- uses: julia-actions/julia-processcoverage@v1
4451
- uses: codecov/codecov-action@v1
4552
with:

0 commit comments

Comments
 (0)