From 93f7f00c956c14620ef031626f124b57397ca867 Mon Sep 17 00:00:00 2001 From: Ryan Dahl Date: Wed, 9 Oct 2019 17:22:22 -0400 Subject: Run deno_std tests in github actions --- .github/workflows/build.yml | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to '.github/workflows') diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index b1d873741..5896710f4 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -10,7 +10,7 @@ jobs: strategy: matrix: os: [macOS-10.14, windows-2016, ubuntu-16.04] - kind: ['test', 'bench', 'lint'] + kind: ['test', 'test_std', 'bench', 'lint'] exclude: - os: windows-2016 kind: 'bench' @@ -102,6 +102,15 @@ jobs: if: matrix.kind != 'lint' run: cargo build --release --locked --all-targets + # TODO(ry) Remove this step, and move the following test to + # cli/tests/std_tests.rs + # TODO(ry) Remove the "cd std". + - name: std test + if: matrix.kind == 'test_std' + run: | + cd std + "../target/release/deno" test -A + - name: Test if: matrix.kind == 'test' run: cargo test --release --locked --all-targets -- cgit v1.2.3