Update docker-compose.yaml #760
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |