mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-07-28 18:24:38 -05:00
molecule scenario to test upgrading from releases
Provide a separate scenario to install the last release, then update to the current one. Also includes improved deployment verification (check if uploading a .txt through the API works).
This commit is contained in:
9
.github/workflows/ansible.yml
vendored
9
.github/workflows/ansible.yml
vendored
@@ -26,10 +26,15 @@ jobs:
|
||||
docker --version
|
||||
molecule --version
|
||||
python --version
|
||||
- name: Test with molecule
|
||||
- name: Test fresh installation with molecule
|
||||
run: |
|
||||
cd ansible
|
||||
molecule test
|
||||
molecule test -s fresh
|
||||
working-directory: "${{ github.repository }}"
|
||||
- name: Test release update with molecule
|
||||
run: |
|
||||
cd ansible
|
||||
molecule test -s update
|
||||
working-directory: "${{ github.repository }}"
|
||||
# # https://galaxy.ansible.com/docs/contributing/importing.html
|
||||
# release:
|
||||
|
Reference in New Issue
Block a user