forked from denoland/deno
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Run deno_std tests in github actions
- Loading branch information
Showing
53 changed files
with
675 additions
and
884 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,4 @@ | ||
cli/tests/error_syntax.js | ||
std/deno.d.ts | ||
std/prettier/vendor | ||
std/**/testdata/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,5 @@ | ||
cli/tests/error_syntax.js | ||
cli/tests/badly_formatted.js | ||
cli/tests/badly_formatted.js | ||
std/**/testdata | ||
std/**/vendor | ||
std/node_modules |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. | ||
// TODO(ry) Current std tests are run in .github/workflows/build.yml but ideally | ||
// they would be called as part of "cargo test". "deno test" is too slow to do | ||
// this desierable thing: https://github.com/denoland/deno/issues/3088 | ||
/* | ||
#[macro_use] | ||
extern crate lazy_static; | ||
extern crate tempfile; | ||
mod util; | ||
use util::*; | ||
#[test] | ||
fn std_tests() { | ||
let mut deno = deno_cmd() | ||
.current_dir(root_path()) | ||
.arg("test") | ||
.arg("-A") | ||
.arg("std") | ||
.spawn() | ||
.expect("failed to spawn script"); | ||
let status = deno.wait().expect("failed to wait for the child process"); | ||
assert_eq!(Some(0), status.code()); | ||
assert!(status.success()); | ||
} | ||
*/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,5 @@ | ||
# Deno Standard Modules | ||
|
||
[![Build Status](https://dev.azure.com/denoland/deno_std/_apis/build/status/denoland.deno_std?branchName=master)](https://dev.azure.com/denoland/deno_std/_build/latest?definitionId=2?branchName=master) | ||
|
||
These modules do not have external dependencies and they are reviewed by the | ||
Deno core team. The intention is to have a standard set of high quality code | ||
that all Deno projects can use fearlessly. | ||
|
@@ -11,8 +9,8 @@ Contributions are welcome! | |
## How to use | ||
|
||
These modules are tagged in accordance with Deno releases. So, for example, the | ||
v0.3.0 tag is guaranteed to work with deno v0.3.0. | ||
You can link to v0.3.0 using the URL `https://deno.land/[email protected]/` | ||
v0.3.0 tag is guaranteed to work with deno v0.3.0. You can link to v0.3.0 using | ||
the URL `https://deno.land/[email protected]/` | ||
|
||
It's strongly recommended that you link to tagged releases rather than the | ||
master branch. The project is still young and we expect disruptive renames in | ||
|
@@ -40,10 +38,10 @@ Here are the dedicated documentations of modules: | |
## Contributing | ||
|
||
deno_std is a loose port of [Go's standard library](https://golang.org/pkg/). | ||
When in doubt, simply port Go's source code, documentation, and tests. There | ||
are many times when the nature of JavaScript, TypeScript, or Deno itself | ||
justifies diverging from Go, but if possible we want to leverage the energy that | ||
went into building Go. We generally welcome direct ports of Go's code. | ||
When in doubt, simply port Go's source code, documentation, and tests. There are | ||
many times when the nature of JavaScript, TypeScript, or Deno itself justifies | ||
diverging from Go, but if possible we want to leverage the energy that went into | ||
building Go. We generally welcome direct ports of Go's code. | ||
|
||
Please ensure the copyright headers cite the code's origin. | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.