Configure geniza qa to use solr9 staging #498
Workflow file for this run
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: Molecule Tests | |
on: [push, pull_request] | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
role: | |
- deploy_user | |
- passenger | |
- python | |
- django | |
# - postgresql | |
- prosody_setup | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Python | |
uses: actions/setup-python@v2 | |
with: | |
python-version: 3.9 | |
- name: Cache pip | |
uses: actions/cache@v2 | |
with: | |
path: ~/.cache/pip | |
key: pip-${{ hashFiles('requirements.txt') }} | |
restore-keys: | | |
pip-${{ hashFiles('requirements.txt') }} | |
pip- | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip | |
pip install wheel | |
python -m pip install -r requirements.txt | |
- name: Create unencrypted ssh key for testing deploy user | |
run: | | |
rm roles/deploy_user/files/id_rsa* | |
ssh-keygen -f roles/deploy_user/files/id_rsa -P= | |
- name: Test with molecule | |
run: cd roles/${{ matrix.role }} && molecule test | |
# not using working-directory because it does not support expressions |