-
Notifications
You must be signed in to change notification settings - Fork 0
75 lines (64 loc) · 2.44 KB
/
03-dotnet-cli-quick-test.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
# SPDX-License-Identifier: Unlicense OR 0BSD
# - https://docs.github.com/pt/actions
# - https://github.com/actions/setup-dotnet
# TODO: adicionar pelo menos ubuntu aqui
name: dotnet-cli-quick-test
on:
# _[por-Latn]
# Execute este fluxo de trabalho em qualquer evento push (sem restrição
# de branch) e pull requests.
# [por-Latn]_
pull_request:
# branches:
# - main
push:
# branches:
# - main
# branches-ignore:
# - '**' # disabled
jobs:
# dotnet-quick-test ##########################################################
# _[por-Latn] Teste rápido: se é para falhar, falhe rápido! [por-Latn]_
dotnet-quick-test:
name: dotnet-quick-test
runs-on: ubuntu-latest
continue-on-error: false
steps:
#### actions/checkout ____________________________________________________
# _[por-Latn] Clone o repositório para esta máquina de testes [por-Latn]_
- uses: actions/checkout@v2
# #### actions/setup-java __________________________________________________
# # _[por-Latn] Prepare dependências Java [por-Latn]_
# - uses: actions/setup-java@v1
# with:
# java-version: "12.x"
# #### subosito/flutter-action _____________________________________________
# # @see https://github.com/marketplace/actions/flutter-action
# - uses: subosito/flutter-action@v1
# with:
# # flutter-version: '1.20.2'
# channel: "stable" # or: 'beta', 'dev' or 'master'
# - run: dart --version
# - run: flutter --version
# - run: flutter pub get
# # _[por-Latn] Execute testes do Flutter [por-Latn]_
# - run: flutter test
# dotnet-quick-test-okay ####################################################
# _[por-Latn]
# O dotnet-quick-test-okay é um exemplo de como um trabalho pode reusar o
# resultado de outro trabalho através da opção 'needs'
#
# IMPORTANTE: pelo menos nesta data, 2021-11-02, conforme
# https://github.community/t/workflow-run-completed-event-triggered-by-failed-workflow/128001
# não é possível usar dependências de arquivos diferentes. Isso explica porque
# o dotnet-quick-test é copiado em demais arquivos.
# [por-Latn]_
dotnet-quick-test-okay:
name: dotnet-quick-test-okay
runs-on: ubuntu-latest
needs:
- dotnet-quick-test
steps:
- run: |
echo "dotnet-quick-test-okay"
# The workflow must contain at least one job with no dependencies.