-
Notifications
You must be signed in to change notification settings - Fork 3
62 lines (55 loc) · 1.57 KB
/
principal.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
# name: Commit e PR - Principal
# on:
# pull_request:
# branches: [ principal ]
# jobs:
# testes-delegua:
# runs-on: ubuntu-latest
# steps:
# - uses: actions/checkout@v2
# - uses: actions/setup-node@v2-beta
# with:
# node-version: '16'
# - name: NPM - Dependências
# run: |
# sudo npm install
# - name: Testes da Linguagem Delégua
# run: |
# sudo chmod +x ./bin/delegua-ts
# sudo npm run testes:delegua:bhaskara
# sudo npm run testes:delegua:fibonacci
# testes-egua-classico:
# runs-on: ubuntu-latest
# steps:
# - uses: actions/checkout@v2
# - uses: actions/setup-node@v2-beta
# with:
# node-version: '16'
# - name: NPM - Dependências
# run: |
# sudo npm install
# - name: Testes do Dialeto Égua Clássico
# run: |
# sudo chmod +x ./bin/delegua-ts
# sudo npm run testes:egua
# testes-unitarios:
# permissions:
# checks: write
# pull-requests: write
# contents: write
# runs-on: ubuntu-latest
# steps:
# - uses: actions/checkout@v2
# - uses: actions/setup-node@v2-beta
# with:
# node-version: '16'
# - uses: ArtiomTr/jest-coverage-report-action@v2
# id: coverage
# with:
# github-token: ${{ secrets.GITHUB_TOKEN }}
# test-script: yarn testes-unitarios
# package-manager: yarn
# output: report-markdown
# - uses: marocchino/sticky-pull-request-comment@v2
# with:
# message: ${{ steps.coverage.outputs.report }}