test.yml (720B)
1 name: Tests 2 on: 3 push: 4 pull_request: 5 6 jobs: 7 training-testing: 8 name: Training and Testing 9 runs-on: ubuntu-latest 10 steps: 11 - uses: actions/checkout@v4 12 - name: Rasa Train and Test GitHub Action 13 uses: RasaHQ/rasa-train-test-gha@2.2.0 14 with: 15 requirements_file: requirements.txt 16 data_validate: true 17 rasa_train: true 18 cross_validation: true 19 rasa_test: true 20 test_type: all 21 publish_summary: true 22 github_token: ${{ secrets.GITHUB_TOKEN }} 23 - name: Upload model 24 if: github.ref == 'refs/heads/main' 25 uses: actions/upload-artifact@v4 26 with: 27 name: model 28 path: models