More complete set of tests in Actions (#2944)

This adds tests - 1 set of tests per step - for cgc, 3m and cs on Linux and MacOS.
This commit is contained in:
Paulo Matos 2019-12-02 00:14:21 +01:00 committed by GitHub
parent e9fb60588b
commit 2836a6027e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -220,13 +220,46 @@ jobs:
run: echo "::set-env name=PATH::$PWD/racketcgc/bin:$PATH"
- name: Check for Racket
run: racket --version
- name: Install catalog and required packages
- name: Install catalog
run: |
racket -l- pkg/dirs-catalog --immediate $PWD/rktcat $PWD/pkgs/
raco pkg config --set catalogs $PWD/rktcat/ https://pkgs.racket-lang.org https://planet-compats.racket-lang.org
raco pkg install --auto racket-test
- name: Run tests
- name: Install racket-test dependency
run: raco pkg install --auto racket-test
- name: Run tests/racket/test
run: raco test -l tests/racket/test
- name: Run tests/racket/contract/all
run: racket -l tests/racket/contract/all
- name: Run tests/json/json
run: raco test -l tests/json/json
- name: Run tests/file/main
run: raco test -l tests/file/main
- name: Run tests/net/head
run: raco test -l tests/net/head
- name: Run tests/net/uri-codec
run: raco test -l tests/net/uri-codec
- name: Run tests/net/url
run: raco test -l tests/net/url
- name: Run tests/net/url-port
run: raco test -l tests/net/url-port
- name: Run tests/net/encoders
run: raco test -l tests/net/encoders
- name: Run tests/openssl/basic
run: raco test -l tests/openssl/basic
- name: Run tests/openssl/https
run: raco test -l tests/openssl/https
- name: Run tests/match/main
run: raco test -l tests/match/main
- name: Run tests/zo-path
run: raco test -l tests/zo-path
- name: Run tests/xml
run: raco test -c tests/xml
- name: Run tests/stxparse
run: raco test -c tests/stxparse
- name: Install db tests dependency
run: raco pkg install --auto db-test
- name: Run db tests
run: raco test -l tests/db/all-tests
test-3m:
strategy:
@ -257,10 +290,43 @@ jobs:
run: |
racket -l- pkg/dirs-catalog --immediate $PWD/rktcat $PWD/pkgs/
raco pkg config --set catalogs $PWD/rktcat/ https://pkgs.racket-lang.org https://planet-compats.racket-lang.org
raco pkg install --auto racket-test
- name: Run tests
- name: Install racket-test dependency
run: raco pkg install --auto racket-test
- name: Run tests/racket/test
run: raco test -l tests/racket/test
- name: Run tests/racket/contract/all
run: racket -l tests/racket/contract/all
- name: Run tests/json/json
run: raco test -l tests/json/json
- name: Run tests/file/main
run: raco test -l tests/file/main
- name: Run tests/net/head
run: raco test -l tests/net/head
- name: Run tests/net/uri-codec
run: raco test -l tests/net/uri-codec
- name: Run tests/net/url
run: raco test -l tests/net/url
- name: Run tests/net/url-port
run: raco test -l tests/net/url-port
- name: Run tests/net/encoders
run: raco test -l tests/net/encoders
- name: Run tests/openssl/basic
run: raco test -l tests/openssl/basic
- name: Run tests/openssl/https
run: raco test -l tests/openssl/https
- name: Run tests/match/main
run: raco test -l tests/match/main
- name: Run tests/zo-path
run: raco test -l tests/zo-path
- name: Run tests/xml
run: raco test -c tests/xml
- name: Run tests/stxparse
run: raco test -c tests/stxparse
- name: Install db tests dependency
run: raco pkg install --auto db-test
- name: Run db tests
run: raco test -l tests/db/all-tests
test-cs:
strategy:
fail-fast: false
@ -289,6 +355,39 @@ jobs:
run: |
racket -l- pkg/dirs-catalog --immediate $PWD/rktcat $PWD/pkgs/
raco pkg config --set catalogs $PWD/rktcat/ https://pkgs.racket-lang.org https://planet-compats.racket-lang.org
raco pkg install --auto racket-test
- name: Run tests
- name: Install racket-test dependency
run: raco pkg install --auto racket-test
- name: Run tests/racket/test
run: raco test -l tests/racket/test
- name: Run tests/racket/contract/all
run: racket -l tests/racket/contract/all
- name: Run tests/json/json
run: raco test -l tests/json/json
- name: Run tests/file/main
run: raco test -l tests/file/main
- name: Run tests/net/head
run: raco test -l tests/net/head
- name: Run tests/net/uri-codec
run: raco test -l tests/net/uri-codec
- name: Run tests/net/url
run: raco test -l tests/net/url
- name: Run tests/net/url-port
run: raco test -l tests/net/url-port
- name: Run tests/net/encoders
run: raco test -l tests/net/encoders
- name: Run tests/openssl/basic
run: raco test -l tests/openssl/basic
- name: Run tests/openssl/https
run: raco test -l tests/openssl/https
- name: Run tests/match/main
run: raco test -l tests/match/main
- name: Run tests/zo-path
run: raco test -l tests/zo-path
- name: Run tests/xml
run: raco test -c tests/xml
- name: Run tests/stxparse
run: raco test -c tests/stxparse
- name: Install db tests dependency
run: raco pkg install --auto db-test
- name: Run db tests
run: raco test -l tests/db/all-tests