Skip to content

Changes for Rasa Pro #71

Changes for Rasa Pro

Changes for Rasa Pro #71

Workflow file for this run

name: Continuous Integration - Test summary
on:
push:
branches:
- main
tags:
- '*'
pull_request:
jobs:
test_action_1:
runs-on: ubuntu-latest
name: Test GH action - Rasa Demo - cfg 1
steps:
- uses: actions/checkout@v4
- name: Checkout Rasa Demo
uses: actions/checkout@v4
with:
repository: RasaHQ/rasa-demo
path: rasa-demo
- name: Use test configuration
run: |
cp .github/test_files/config_rasa_demo.yml rasa-demo/config.yml
- name: Set Rasa Version
run: |
RASA_VERSION=$(sed -ne 's/^rasa==\(.*\)#.*$/\1/p' rasa-demo/requirements.txt)
echo RASA_VERSION=$RASA_VERSION >> $GITHUB_ENV
- id: action
name: Rasa Test & Train - Rasa Demo
uses: ./
with:
rasa_version: ${{ env.RASA_VERSION }}-full
configuration_name: 'Rasa Demo - Configuration 1'
workspace: ${{ github.workspace }}/rasa-demo
test_core_args: >-
--stories tests/test_conversations.yml
publish_summary: 'false'
- uses: actions/upload-artifact@v4
with:
name: rasa-demo-cfg-1
path: rasa-demo/reports
test_action_2:
runs-on: ubuntu-latest
name: Test GH action - Rasa Demo - cfg 2
needs: [test_action_1]
steps:
- uses: actions/checkout@v4
- name: Checkout Rasa Demo
uses: actions/checkout@v4
with:
repository: RasaHQ/rasa-demo
path: rasa-demo
- uses: actions/download-artifact@v4
with:
name: rasa-demo-cfg-1
path: rasa-demo/reports
- name: Use test configuration
run: |
cp .github/test_files/config_rasa_demo.yml rasa-demo/config.yml
- name: Set Rasa Version
run: |
RASA_VERSION=$(sed -ne 's/^rasa==\(.*\)#.*$/\1/p' rasa-demo/requirements.txt)
echo RASA_VERSION=$RASA_VERSION >> $GITHUB_ENV
- id: action
name: Rasa Test & Train - Rasa Demo
uses: ./
with:
rasa_version: ${{ env.RASA_VERSION }}-full
configuration_name: 'Rasa Demo - Configuration 2'
workspace: ${{ github.workspace }}/rasa-demo
test_core_args: >-
--stories tests/test_conversations.yml
github_token: ${{ secrets.GITHUB_TOKEN }}
- uses: actions/upload-artifact@v4
with:
name: rasa-demo-cfg-2
path: |
rasa-demo/results
rasa-demo/reports