Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ccpansys/solutions e2e testing #384

Merged
merged 14 commits into from
Oct 30, 2023
23 changes: 23 additions & 0 deletions .github/workflows/solutions_ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Trigger end-to-end tests for solution templates
on:
pull_request:
ccpansys marked this conversation as resolved.
Show resolved Hide resolved
paths:
- 'src/ansys/templates/python/solution/**'
- 'src/ansys/templates/python/osl_solution/**'

jobs:

solutions-e2e-tests:
name: Trigger solutions e2e tests
runs-on: ubuntu-latest
steps:
- name: github workflow dispatch
shell: bash
env:
GH_TOKEN: ${{ secrets.ANSYS_SOLUTIONS_E2E_TESTS }}
run: |
gh workflow run \
_ansys-templates-remote-ci.yml \
--repo "https://github.com/Solution-Applications/solution-templates-end-to-end-testing" \
--field ansys_templates_sha="${{ github.event.pull_request.head.sha }}" \
--ref "refs/heads/main"
ccpansys marked this conversation as resolved.
Show resolved Hide resolved
Loading