solved tests
This commit is contained in:
parent
35762cd864
commit
4a95965ea7
3 changed files with 6 additions and 7 deletions
6
.github/workflows/test.yml
vendored
6
.github/workflows/test.yml
vendored
|
|
@ -1,4 +1,4 @@
|
||||||
name: run-on-push
|
name: run-test-on-push
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
|
|
@ -21,6 +21,8 @@ jobs:
|
||||||
run: hostname -I
|
run: hostname -I
|
||||||
- name: Run script 6
|
- name: Run script 6
|
||||||
run: hostname
|
run: hostname
|
||||||
|
- name: Run script 7
|
||||||
|
run: env
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- name: Run script 1
|
- name: Run a script of repository
|
||||||
run: ./test.sh
|
run: ./test.sh
|
||||||
|
|
|
||||||
5
test.sh
5
test.sh
|
|
@ -1,6 +1,3 @@
|
||||||
#|/bin/bash
|
#|/bin/bash
|
||||||
echo Es un test de CI/CD
|
echo "Ejecutando $0 en directorio $(PWD)"
|
||||||
echo date
|
|
||||||
uname -a
|
|
||||||
env
|
|
||||||
make run-test
|
make run-test
|
||||||
|
|
|
||||||
|
|
@ -8,7 +8,7 @@ void main() {
|
||||||
group('Format', () {
|
group('Format', () {
|
||||||
test('1 is 1', () {
|
test('1 is 1', () {
|
||||||
var s = formatOutput(1.0);
|
var s = formatOutput(1.0);
|
||||||
expect(s, "1");
|
expect(s, "1.0");
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue