File tree Expand file tree Collapse file tree 1 file changed +12
-11
lines changed Expand file tree Collapse file tree 1 file changed +12
-11
lines changed Original file line number Diff line number Diff line change @@ -109,8 +109,8 @@ jobs:
109
109
# token: ${{ secrets.CODECOV_TOKEN }}
110
110
# fail_ci_if_error: false
111
111
112
- pd -test :
113
- name : PowerDynamics .jl test - Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }}
112
+ OpPoDyn -test :
113
+ name : OpPoDyn .jl test - Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }}
114
114
runs-on : ${{ matrix.os }}
115
115
permissions :
116
116
actions : write # needed to allow julia-actions/cache to proactively delete old caches that it has created
@@ -131,19 +131,20 @@ jobs:
131
131
version : ${{ matrix.version }}
132
132
arch : ${{ matrix.arch }}
133
133
- uses : julia-actions/julia-buildpkg@v1
134
+ - uses : julia-actions/cache@v2
134
135
- uses : actions/checkout@v4
135
136
with :
136
- repository : JuliaEnergy/PowerDynamics .jl
137
- path : PowerDynamics.jl
138
- - name : Run PD tests
139
- shell : julia --project=PowerDynamics.jl {0}
137
+ repository : JuliaEnergy/OpPoDyn .jl
138
+ path : OpPoDyn
139
+ - name : Run OpPoDyn tests
140
+ shell : julia --project=testenv --color=yes {0}
140
141
run : |
141
- import Pkg
142
+ using Pkg
142
143
try
143
- Pkg.develop(path=".")
144
- Pkg.update()
145
- Pkg.precompile()
146
- Pkg.test()
144
+ pkg"dev ."
145
+ pkg"dev ./OpPoDyn"
146
+ pkg"dev ./OpPoDyn/OpPoDynTesting"
147
+ Pkg.test("OpPoDyn"; coverage=false )
147
148
catch e
148
149
if e isa Pkg.Resolve.ResolverError
149
150
@info "Resolve error! No need to test a breaking release..." e
You can’t perform that action at this time.
0 commit comments