diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 83bb04b..6adc1a4 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -1,4 +1,4 @@ -name: run-on-push +name: run-test-on-push on: push: branches: @@ -21,6 +21,8 @@ jobs: run: hostname -I - name: Run script 6 run: hostname + - name: Run script 7 + run: env - uses: actions/checkout@v4 - - name: Run script 1 + - name: Run a script of repository run: ./test.sh diff --git a/test.sh b/test.sh index 113ab1a..4431352 100755 --- a/test.sh +++ b/test.sh @@ -1,6 +1,3 @@ #|/bin/bash -echo Es un test de CI/CD -echo date -uname -a -env +echo "Ejecutando $0 en directorio $(PWD)" make run-test diff --git a/test/value_formatter_test.dart b/test/value_formatter_test.dart index 534f711..9e580ea 100644 --- a/test/value_formatter_test.dart +++ b/test/value_formatter_test.dart @@ -8,7 +8,7 @@ void main() { group('Format', () { test('1 is 1', () { var s = formatOutput(1.0); - expect(s, "1"); + expect(s, "1.0"); }); }); }