Skip to content

workflows: Use branch head to run tests #7

workflows: Use branch head to run tests

workflows: Use branch head to run tests #7

Workflow file for this run

---
name: Test Environment Reuse
on:
- push
- pull_request
jobs:
test-environment-reuse:
name: Test environment reuse
runs-on: ubuntu-24.04
steps:
- name: Clone the repository
uses: actions/checkout@v4
- name: Deploy environment
# uses: rjeffman/FreeIPA-Cluster-Test@<version|main>
uses: ./
with:
cluster_configuration: tests/environments/server_only.yaml
shutdown: false
- name: Install test dependencies
run: |
pip install pytest requests
- name: Run Pytest
run: |
pytest
- name: Shutdown environment
# uses: rjeffman/FreeIPA-Cluster-Test@<version|main>
uses: ./
with:
cluster_configuration: tests/environments/server_only.yaml
shutdown: true