-
Notifications
You must be signed in to change notification settings - Fork 5
71 lines (71 loc) · 1.92 KB
/
unit-tests-srv.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
#name: Tests on srv server
#
#on:
# workflow_dispatch:
# push:
# branches: [ feature/* , main, hotfix/*, release/* ]
## pull_request:
## branches: [ main, release/* ]
#
#concurrency:
# group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
# cancel-in-progress: true
#
#env:
# VAULT_TOKEN: ${{ secrets.VAULT_TOKEN }}
# VAULT_ADDR: ${{ secrets.VAULT_ADDR }}
# ENVIRONMENT: staging
#jobs:
# build:
# name: pyTest
# runs-on: self-hosted
#
# steps:
# - uses: actions/checkout@v2
#
# - name: Make envfile
# run: make staging-dotenv-file
#
# - name: Get Saxon
# run: make init-saxon
#
# - name: Get Limes
# run: make init-limes
#
# - name: Get RML mapper
# run: make init-rml-mapper
#
# # - name: Get Allure
# # run: make install-allure
#
# # - name: Start staging infra
# # run: make start-project-services
#
# - name: Run tests
# run: make test-all
# - name: Upload coverage to Codecov
# uses: codecov/[email protected]
# with:
# token: ${{ secrets.CODECOV_TOKEN }}
# file: coverage.xml
# env_vars: OS,PYTHON
# name: codecov-umbrella
# fail_ci_if_error: true
# - name: SonarCloud Scan
# uses: SonarSource/sonarcloud-github-action@master
# env:
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Needed to get PR information, if any
# SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
## - name: Clean Mongo DB
## run: make clean-mongo-db
## - name: Upload coverage to Codecov
## uses: codecov/codecov-action@v1
## with:
## token: ${{ secrets.CODECOV_TOKEN }}
## file: coverage.xml
## env_vars: OS,PYTHON
## name: codecov-umbrella
## fail_ci_if_error: true
#
## - name: start-infra
## run: make stop-project-staging-services