Skip to content

Commit 74c382f

Browse files
committed
Setup Alex as responsible for the tests
Update info.rkt for plot-test to setup Alex as the person responsible for the plot tests as he is the package maintainer (drdr.racket-lang.org will email him on failed tests). Also enable the plot tests in the Github Actions for the package and add missing "contract-profile" dependency for plot-test.
1 parent 6a593ce commit 74c382f

File tree

2 files changed

+26
-2
lines changed

2 files changed

+26
-2
lines changed

.github/workflows/ci.yml

Lines changed: 22 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,31 @@ jobs:
1616
distribution: minimal
1717
variant: ${{ matrix.racket-variant }}
1818
version: ${{ matrix.racket-version }}
19+
20+
# Setup this source repository as a package catalog which has higher
21+
# priority than the main catalog
22+
1923
- run: racket -l- pkg/dirs-catalog --link catalog .
2024
- run: echo "file://`pwd`/catalog" > catalogs.txt
2125
- run: raco pkg config catalogs >> catalogs.txt
2226
- run: raco pkg config --set catalogs `cat catalogs.txt`
2327
- run: raco pkg config catalogs
28+
29+
# Install plot and its dependencies. Since we installed minimal racket,
30+
# this will fetch most of the packages from the main package catalog,
31+
# except for the packages inside this directory, which have higher
32+
# priority.
33+
2434
- run: sudo raco pkg install --batch --auto plot
25-
# - run: raco test --drdr plot-test/
35+
36+
# This runs any tests inside the plot, plot-lib, plot-gui-lib and
37+
# plot-doc packages, but NOT the plot-test package. The actual tests
38+
# are in the `plot-test` package, so we don't expect any tests here, but
39+
# just in case someone wrote a test module...
40+
41+
- run: sudo xvfb-run raco test --no-run-if-absent --deps --package plot
42+
43+
# Install the plot-test package and run the tests
44+
45+
- run: sudo raco pkg install --batch --auto plot-test
46+
- run: sudo xvfb-run raco test --no-run-if-absent --package plot-test

plot-test/info.rkt

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,14 @@
1212
"rackunit-lib"
1313
"slideshow-lib"
1414
"typed-racket-lib"
15-
"typed-racket-more"))
15+
"typed-racket-more"
16+
"contract-profile"))
1617

1718
(define build-deps '())
1819
(define update-implies '("plot-lib"))
1920

2021
(define pkg-desc "Plot tests")
2122

2223
(define pkg-authors '(ntoronto))
24+
25+
(define test-responsibles '((all [email protected])))

0 commit comments

Comments
 (0)