Skip to content

Commit 6ab58e6

Browse files
author
Frankie Robertson
committed
Switch away from test having own Project.toml
1 parent 89f130d commit 6ab58e6

File tree

4 files changed

+11
-33
lines changed

4 files changed

+11
-33
lines changed

.github/workflows/CI.yml

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -32,18 +32,8 @@ jobs:
3232
- uses: julia-actions/julia-downgrade-compat@v1
3333
if: ${{ matrix.version == '1.10' }}
3434
- uses: julia-actions/cache@v1
35-
- name: Set CAT packages to develop & resolve env
36-
run: |
37-
julia --project=test/ -e 'using Pkg;
38-
Pkg.develop(path=".");
39-
Pkg.resolve();
40-
Pkg.instantiate()'
41-
env:
42-
R_HOME: '*'
4335
- uses: julia-actions/julia-buildpkg@v1
44-
- name: Run tests
45-
run: |
46-
cd test && julia --project=. --code-coverage=user ./runtests.jl
36+
- uses: julia-actions/julia-runtest@v1
4737
- uses: julia-actions/julia-processcoverage@v1
4838
- uses: coverallsapp/github-action@v2
4939
with:

Project.toml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,3 +60,13 @@ StatsBase = "^0.34"
6060
StatsFuns = "^0.9.15, ^1"
6161
UnPack = "1"
6262
julia = "^1.11"
63+
64+
[extras]
65+
Aqua = "4c88cf16-eb10-579e-8560-4a9242c79595"
66+
JET = "c3a54625-cd67-489e-a8e7-0a5a0ff4e31b"
67+
Optim = "429524aa-4258-5aef-a3af-852621145aeb"
68+
ResumableFunctions = "c5292f4c-5179-55e1-98c5-05642aab7184"
69+
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"
70+
71+
[targets]
72+
test = ["Aqua", "JET", "Optim", "ResumableFunctions", "Test"]

test/Project.toml

Lines changed: 0 additions & 21 deletions
This file was deleted.

test/dummy.jl

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
module Dummy
22

3-
using Accessors
43
using ComputerAdaptiveTesting.NextItemRules
54
using ComputerAdaptiveTesting.Aggregators
65
using ComputerAdaptiveTesting.Responses

0 commit comments

Comments
 (0)