Skip to content
This repository has been archived by the owner on Nov 24, 2023. It is now read-only.

Add deprecation warning to README #28

Add deprecation warning to README

Add deprecation warning to README #28

Workflow file for this run

# Copyright (c) 2022-2023 Robert Bosch GmbH and Microsoft Corporation
#
# This program and the accompanying materials are made available under the
# terms of the Apache License, Version 2.0 which is available at
# https://www.apache.org/licenses/LICENSE-2.0.
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
# License for the specific language governing permissions and limitations
# under the License.
#
# SPDX-License-Identifier: Apache-2.0
name: CI workflow
concurrency:
group: ${{ github.ref }}
cancel-in-progress: true
on:
workflow_dispatch:
push:
# Run only on branches/commits and not tags
branches:
- main
pull_request:
branches:
- main
jobs:
run-integration-tests:
name: Run Integration Test
runs-on: ubuntu-22.04
env:
DAPR_HOST_IP: 127.0.0.1
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Set commit id
run: |
NEW_CONFIG="$(jq --arg GITHUB_SHA "$GITHUB_SHA" '.packages[0].version |= $GITHUB_SHA' test/.velocitas.json)"
echo "${NEW_CONFIG}" > test/.velocitas.json
- name: Install required packages
run: |
pip install -r test/requirements.txt
sudo curl -L https://github.com/eclipse-velocitas/cli/releases/latest/download/velocitas-linux-x64 -o /usr/bin/velocitas
sudo chmod +x /usr/bin/velocitas
- name: Init velocitas project
run: |
cd test
velocitas init
- name: Run integration test
run: |
cd test
pytest -s ./integration/integration_test.py