Skip to content

Commit

Permalink
build: harmonize location for packages with and without deps
Browse files Browse the repository at this point in the history
  • Loading branch information
Planeshifter committed Aug 13, 2023
1 parent ce9463d commit 0f7b23e
Show file tree
Hide file tree
Showing 14 changed files with 15 additions and 15 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/scripts/run_tests_coverage
Original file line number Diff line number Diff line change
Expand Up @@ -204,15 +204,15 @@ main() {

pkg_cov="| $pkg_statements_cov_fraction <br> $cov_change_statements | $pkg_branches_cov_fraction <br> $cov_change_branches | $pkg_functions_cov_fraction <br> $cov_change_functions | $pkg_lines_cov_fraction <br> $cov_change_lines |"

pkg_url="https://coverage.stdlib.io/${pkg}/lib/index.html"
pkg_url="https://coverage.stdlib.io/${pkg}/index.html"
pkg_link="<a href="$pkg_url">$pkg</a>"
coverage="$coverage\n| $pkg_link $pkg_cov"

# Copy coverage report of the package to artifacts directory:
if [ "$top_level_report" = true ]; then
mkdir -p "artifacts/${pkg}" && cp -r "reports/coverage/lcov-report"/* "artifacts/${pkg}/"
else
mkdir -p "artifacts/${pkg}/lib/" && cp -r "reports/coverage/lcov-report/${pkg}/lib"/* "artifacts/${pkg}/lib/"
mkdir -p "artifacts/${pkg}/lib/" && cp -r "reports/coverage/lcov-report/${pkg}/lib"/* "artifacts/${pkg}/"
fi

# Cleanup coverage reports for next package:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ var FLOAT16_SMALLEST_NORMAL = require( './../lib' );

// TESTS //

tape( 'the main export is a number', function test( t ) {
tape( 'main export is a number', function test( t ) {
t.ok( true, __filename );
t.strictEqual( typeof FLOAT16_SMALLEST_NORMAL, 'number', 'main export is a number' );
t.end();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ var FLOAT16_SMALLEST_SUBNORMAL = require( './../lib' );

// TESTS //

tape( 'the main export is a number', function test( t ) {
tape( 'main export is a number', function test( t ) {
t.ok( true, __filename );
t.strictEqual( typeof FLOAT16_SMALLEST_SUBNORMAL, 'number', 'main export is a number' );
t.end();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ var FLOAT32_ABS_MASK = require( './../lib' );

// TESTS //

tape( 'the main export is a number', function test( t ) {
tape( 'main export is a number', function test( t ) {
t.ok( true, __filename );
t.strictEqual( typeof FLOAT32_ABS_MASK, 'number', 'main export is a number' );
t.end();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ var FLOAT32_EXPONENT_MASK = require( './../lib' );

// TESTS //

tape( 'the main export is a number', function test( t ) {
tape( 'main export is a number', function test( t ) {
t.ok( true, __filename );
t.strictEqual( typeof FLOAT32_EXPONENT_MASK, 'number', 'main export is a number' );
t.end();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ var FLOAT32_SIGN_MASK = require( './../lib' );

// TESTS //

tape( 'the main export is a number', function test( t ) {
tape( 'main export is a number', function test( t ) {
t.ok( true, __filename );
t.strictEqual( typeof FLOAT32_SIGN_MASK, 'number', 'main export is a number' );
t.end();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ var FLOAT32_SIGNIFICAND_MASK = require( './../lib' );

// TESTS //

tape( 'the main export is a number', function test( t ) {
tape( 'main export is a number', function test( t ) {
t.ok( true, __filename );
t.strictEqual( typeof FLOAT32_SIGNIFICAND_MASK, 'number', 'main export is a number' );
t.end();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ var FLOAT32_SMALLEST_NORMAL = require( './../lib' );

// TESTS //

tape( 'the main export is a number', function test( t ) {
tape( 'main export is a number', function test( t ) {
t.ok( true, __filename );
t.strictEqual( typeof FLOAT32_SMALLEST_NORMAL, 'number', 'main export is a number' );
t.end();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ var FLOAT32_SMALLEST_SUBNORMAL = require( './../lib' );

// TESTS //

tape( 'the main export is a number', function test( t ) {
tape( 'main export is a number', function test( t ) {
t.ok( true, __filename );
t.strictEqual( typeof FLOAT32_SMALLEST_SUBNORMAL, 'number', 'main export is a number' );
t.end();
Expand Down
2 changes: 1 addition & 1 deletion lib/node_modules/@stdlib/constants/int16/max/test/test.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ var INT16_MAX = require( './../lib' );

// TESTS //

tape( 'the main export is a number', function test( t ) {
tape( 'main export is a number', function test( t ) {
t.ok( true, __filename );
t.strictEqual( typeof INT16_MAX, 'number', 'main export is a number' );
t.end();
Expand Down
2 changes: 1 addition & 1 deletion lib/node_modules/@stdlib/constants/int16/min/test/test.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ var INT16_MIN = require( './../lib' );

// TESTS //

tape( 'the main export is a number', function test( t ) {
tape( 'main export is a number', function test( t ) {
t.ok( true, __filename );
t.strictEqual( typeof INT16_MIN, 'number', 'main export is a number' );
t.end();
Expand Down
2 changes: 1 addition & 1 deletion lib/node_modules/@stdlib/constants/int32/max/test/test.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ var INT32_MAX = require( './../lib' );

// TESTS //

tape( 'the main export is a number', function test( t ) {
tape( 'main export is a number', function test( t ) {
t.ok( true, __filename );
t.strictEqual( typeof INT32_MAX, 'number', 'main export is a number' );
t.end();
Expand Down
2 changes: 1 addition & 1 deletion lib/node_modules/@stdlib/constants/int32/min/test/test.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ var INT32_MIN = require( './../lib' );

// TESTS //

tape( 'the main export is a number', function test( t ) {
tape( 'main export is a number', function test( t ) {
t.ok( true, __filename );
t.strictEqual( typeof INT32_MIN, 'number', 'main export is a number' );
t.end();
Expand Down
2 changes: 1 addition & 1 deletion lib/node_modules/@stdlib/constants/int8/min/test/test.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ var INT8_MIN = require( './../lib' );

// TESTS //

tape( 'the main export is a number', function test( t ) {
tape( 'main export is a number', function test( t ) {
t.ok( true, __filename );
t.strictEqual( typeof INT8_MIN, 'number', 'main export is a number' );
t.end();
Expand Down

1 comment on commit 0f7b23e

@stdlib-bot
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Coverage Report

Package Statements Branches Functions Lines
constants/float16/smallest-normal $\color{green}62/62$
$\color{green}+100.00\%$
$\color{green}1/1$
$\color{green}+100.00\%$
$\color{green}0/0$
$\color{green}+100.00\%$
$\color{green}62/62$
$\color{green}+100.00\%$
constants/float16/smallest-subnormal $\color{green}62/62$
$\color{green}+100.00\%$
$\color{green}1/1$
$\color{green}+100.00\%$
$\color{green}0/0$
$\color{green}+100.00\%$
$\color{green}62/62$
$\color{green}+100.00\%$
constants/float32/abs-mask $\color{green}56/56$
$\color{green}+100.00\%$
$\color{green}1/1$
$\color{green}+100.00\%$
$\color{green}0/0$
$\color{green}+100.00\%$
$\color{green}56/56$
$\color{green}+100.00\%$
constants/float32/exponent-mask $\color{green}56/56$
$\color{green}+100.00\%$
$\color{green}1/1$
$\color{green}+100.00\%$
$\color{green}0/0$
$\color{green}+100.00\%$
$\color{green}56/56$
$\color{green}+100.00\%$
constants/float32/sign-mask $\color{green}56/56$
$\color{green}+100.00\%$
$\color{green}1/1$
$\color{green}+100.00\%$
$\color{green}0/0$
$\color{green}+100.00\%$
$\color{green}56/56$
$\color{green}+100.00\%$
constants/float32/significand-mask $\color{green}56/56$
$\color{green}+100.00\%$
$\color{green}1/1$
$\color{green}+100.00\%$
$\color{green}0/0$
$\color{green}+100.00\%$
$\color{green}56/56$
$\color{green}+100.00\%$
constants/float32/smallest-normal $\color{green}62/62$
$\color{green}+100.00\%$
$\color{green}1/1$
$\color{green}+100.00\%$
$\color{green}0/0$
$\color{green}+100.00\%$
$\color{green}62/62$
$\color{green}+100.00\%$
constants/float32/smallest-subnormal $\color{green}62/62$
$\color{green}+100.00\%$
$\color{green}1/1$
$\color{green}+100.00\%$
$\color{green}0/0$
$\color{green}+100.00\%$
$\color{green}62/62$
$\color{green}+100.00\%$
constants/int16/max $\color{green}61/61$
$\color{green}+100.00\%$
$\color{green}1/1$
$\color{green}+100.00\%$
$\color{green}0/0$
$\color{green}+100.00\%$
$\color{green}61/61$
$\color{green}+100.00\%$
constants/int16/min $\color{green}61/61$
$\color{green}+100.00\%$
$\color{green}1/1$
$\color{green}+100.00\%$
$\color{green}0/0$
$\color{green}+100.00\%$
$\color{green}61/61$
$\color{green}+100.00\%$
constants/int32/max $\color{green}61/61$
$\color{green}+100.00\%$
$\color{green}1/1$
$\color{green}+100.00\%$
$\color{green}0/0$
$\color{green}+100.00\%$
$\color{green}61/61$
$\color{green}+100.00\%$
constants/int32/min $\color{green}61/61$
$\color{green}+100.00\%$
$\color{green}1/1$
$\color{green}+100.00\%$
$\color{green}0/0$
$\color{green}+100.00\%$
$\color{green}61/61$
$\color{green}+100.00\%$
constants/int8/min $\color{green}61/61$
$\color{green}+100.00\%$
$\color{green}1/1$
$\color{green}+100.00\%$
$\color{green}0/0$
$\color{green}+100.00\%$
$\color{green}61/61$
$\color{green}+100.00\%$

The above coverage report was generated for the changes in this push.

Please sign in to comment.