Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cannot be used with github actions #19

Closed
amondnet opened this issue Mar 18, 2022 · 0 comments · Fixed by #20
Closed

cannot be used with github actions #19

amondnet opened this issue Mar 18, 2022 · 0 comments · Fixed by #20

Comments

@amondnet
Copy link
Contributor

on:
  push:
    branches:
      - main
jobs:
  test:
    name: test
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v2
      - uses: dart-lang/setup-dart@v1
      - name: Install dependencies
        run: dart pub get      
      - run: dart pub global activate spec_cli
      - run: spec --coverage --ci

https://github.com/amondnet/spec_test/runs/5597378548?check_suite_focus=true

Run spec --coverage --ci
Unhandled exception:
StdoutException: Could not get terminal size, OS Error: Inappropriate ioctl for device, errno = 25
#0      Stdout._terminalSize (dart:io-patch/stdio_patch.dart:145:7)
#1      Stdout._terminalColumns (dart:io-patch/stdio_patch.dart:13[8](https://github.com/amondnet/spec_test/runs/5597378548?check_suite_focus=true#step:6:8):35)
#2      Stdout.terminalColumns (dart:io/stdio.dart:205:30)
#3      BacktrackingRenderer.renderFrame (package:spec_cli/src/renderer.dart:141:31)
#4      spec.<anonymous closure>.<anonymous closure>.<anonymous closure> (package:spec_cli/src/command_runner.dart:212:54)
#5      AsyncValueX.when.<anonymous closure> (package:riverpod/src/common.dart:4[9](https://github.com/amondnet/spec_test/runs/5597378548?check_suite_focus=true#step:6:9)8:24)
#6      AsyncData.map (package:riverpod/src/common.dart:273:16)
#7      AsyncValueX.when (package:riverpod/src/common.dart:497:12)
#8      spec.<anonymous closure>.<anonymous closure> (package:spec_cli/src/command_runner.dart:206:18)
#9      _rootRunBinary (dart:async/zone.dart:1450:47)
#[10](https://github.com/amondnet/spec_test/runs/5597378548?check_suite_focus=true#step:6:10)     _CustomZone.runBinary (dart:async/zone.dart:1342:19)
#[11](https://github.com/amondnet/spec_test/runs/5597378548?check_suite_focus=true#step:6:11)     _CustomZone.runBinaryGuarded (dart:async/zone.dart:[12](https://github.com/amondnet/spec_test/runs/5597378548?check_suite_focus=true#step:6:12)52:7)
#12     ProviderElementBase._notifyListeners.<anonymous closure> (package:riverpod/src/framework/provider_base.dart:557:24)
#[13](https://github.com/amondnet/spec_test/runs/5597378548?check_suite_focus=true#step:6:13)     ResultData.map (package:riverpod/src/framework/provider_base.dart:1130:16)
#[14](https://github.com/amondnet/spec_test/runs/5597378548?check_suite_focus=true#step:6:14)     ProviderElementBase._notifyListeners (package:riverpod/src/framework/provider_base.dart:554:14)
#[15](https://github.com/amondnet/spec_test/runs/5597378548?check_suite_focus=true#step:6:15)     ProviderElementBase._performBuild (package:riverpod/src/framework/provider_base.dart:447:7)
#[16](https://github.com/amondnet/spec_test/runs/5597378548?check_suite_focus=true#step:6:16)     ProviderElementBase.flush (package:riverpod/src/framework/provider_base.dart:415:7)
#[17](https://github.com/amondnet/spec_test/runs/5597378548?check_suite_focus=true#step:6:17)     _ProviderScheduler._performRefresh (package:riverpod/src/framework/scheduler.dart:55:41)
#[18](https://github.com/amondnet/spec_test/runs/5597378548?check_suite_focus=true#step:6:18)     _ProviderScheduler._task (package:riverpod/src/framework/scheduler.dart:41:5)
#[19](https://github.com/amondnet/spec_test/runs/5597378548?check_suite_focus=true#step:6:19)     new Future.<anonymous closure> (dart:async/future.dart:252:37)
#[20](https://github.com/amondnet/spec_test/runs/5597378548?check_suite_focus=true#step:6:20)     _rootRun (dart:async/zone.dart:1418:47)
#[21](https://github.com/amondnet/spec_test/runs/5597378548?check_suite_focus=true#step:6:21)     _CustomZone.run (dart:async/zone.dart:1328:19)
#[22](https://github.com/amondnet/spec_test/runs/5597378548?check_suite_focus=true#step:6:22)     _CustomZone.runGuarded (dart:async/zone.dart:1[23](https://github.com/amondnet/spec_test/runs/5597378548?check_suite_focus=true#step:6:23)6:7)
#23     _CustomZone.bindCallbackGuarded.<anonymous closure> (dart:async/zone.dart:1276:23)
#[24](https://github.com/amondnet/spec_test/runs/5597378548?check_suite_focus=true#step:6:24)     _rootRun (dart:async/zone.dart:1426:13)
#[25](https://github.com/amondnet/spec_test/runs/5597378548?check_suite_focus=true#step:6:25)     _CustomZone.run (dart:async/zone.dart:1328:19)
#[26](https://github.com/amondnet/spec_test/runs/5597378548?check_suite_focus=true#step:6:26)     _CustomZone.bindCallback.<anonymous closure> (dart:async/zone.dart:1260:23)
#[27](https://github.com/amondnet/spec_test/runs/5597378548?check_suite_focus=true#step:6:27)     Timer._createTimer.<anonymous closure> (dart:async-patch/timer_patch.dart:18:15)
#[28](https://github.com/amondnet/spec_test/runs/5597378548?check_suite_focus=true#step:6:28)     _Timer._runTimers (dart:isolate-patch/timer_impl.dart:395:19)
#[29](https://github.com/amondnet/spec_test/runs/5597378548?check_suite_focus=true#step:6:29)     _Timer._handleMessage (dart:isolate-patch/timer_impl.dart:426:5)
#[30](https://github.com/amondnet/spec_test/runs/5597378548?check_suite_focus=true#step:6:30)     _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:192:12)
25l PASS  test/spec_test_test.dart
Error: Process completed with exit code 255.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant