feat: first take at a release pipeline #1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Playbook Validation | |
on: [push, pull_request] | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v3 | |
- name: Set up Python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: '3.x' # Specify the Python version you need | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip | |
pip install robotframework | |
- name: Run Robot Framework tests | |
env: | |
PLAYBOOK: AD_LDAP_Account_Locking.json | |
run: | | |
mkdir -p results | |
robot -d results -L DEBUG:INFO .github/tests/robot/PlaybookScanner.robot | |
- name: Archive test results | |
uses: actions/upload-artifact@v3 | |
with: | |
name: robot-results | |
path: results |