Skip to content

Commit 109aae7

Browse files
authored
Use a project for tests (#66)
* test/Project.toml * let CompatHelper track docs and test
1 parent 53c688f commit 109aae7

File tree

3 files changed

+11
-10
lines changed

3 files changed

+11
-10
lines changed

.github/workflows/CompatHelper.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,4 +23,4 @@ jobs:
2323
- name: CompatHelper.main()
2424
env:
2525
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
26-
run: julia -e 'using CompatHelper; CompatHelper.main()'
26+
run: julia -e 'using CompatHelper; CompatHelper.main(; subdirs=["", "docs", "test"])'

Project.toml

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,3 @@ Latexify = "0.15"
1414
RecipesBase = "1"
1515
Requires = "1"
1616
julia = "1.6"
17-
18-
[extras]
19-
Plots = "91a5bcdd-55d7-5caf-9e0b-520d859cae80"
20-
StaticArrays = "90137ffa-7385-5640-81b9-e52037218182"
21-
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"
22-
UnicodePlots = "b8865327-cd53-5732-bb35-84acbb429228"
23-
24-
[targets]
25-
test = ["Plots", "StaticArrays", "Test", "UnicodePlots"]

test/Project.toml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
[deps]
2+
Plots = "91a5bcdd-55d7-5caf-9e0b-520d859cae80"
3+
StaticArrays = "90137ffa-7385-5640-81b9-e52037218182"
4+
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"
5+
UnicodePlots = "b8865327-cd53-5732-bb35-84acbb429228"
6+
7+
[compat]
8+
Plots = "1"
9+
StaticArrays = "1.3"
10+
UnicodePlots = "2"

0 commit comments

Comments
 (0)