Skip to content

build(deps): bump actions/checkout from 3 to 4 #1351

build(deps): bump actions/checkout from 3 to 4

build(deps): bump actions/checkout from 3 to 4 #1351

name: Crucible tests
on: [push, pull_request]
jobs:
run-tests:
name: Run tests
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v4
- name: Setup Python
uses: actions/setup-python@v4
with:
python-version: 3.9
- uses: actions/cache@v3
with:
path: ${{ env.pythonLocation }}
key: ${{ env.pythonLocation }}-${{ hashFiles('**/requirements.???') }}
- name: Install required dependencies
run: |
pip install ansible
pip install -r requirements.txt
ansible-galaxy collection install -r requirements.yml
- name: Run all tests using Ansible
run: ansible-playbook run_tests.yml
working-directory: ./tests