This is an automated email from the ASF dual-hosted git repository.
sebb pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-ponymail-foal.git
The following commit(s) were added to refs/heads/master by this push:
new 945c259 Save and restore workspace to get setup items
945c259 is described below
commit 945c2598f7854b4820acfc31b9f68d9e61e816c8
Author: Sebb <[email protected]>
AuthorDate: Sun Jan 23 01:01:09 2022 +0000
Save and restore workspace to get setup items
---
.github/workflows/integration-tests.yml | 20 ++++++++++++++++----
1 file changed, 16 insertions(+), 4 deletions(-)
diff --git a/.github/workflows/integration-tests.yml
b/.github/workflows/integration-tests.yml
index 4278574..c6466ef 100644
--- a/.github/workflows/integration-tests.yml
+++ b/.github/workflows/integration-tests.yml
@@ -52,15 +52,23 @@ jobs:
curl -sq "http://localhost:9200/_settings?pretty"
curl -sq "http://localhost:9200/ponymail-mbox/_mapping?pretty"
curl -sq "http://localhost:9200/ponymail-source/_mapping?pretty"
+ - name: Save workspace
+ uses: actions/upload-artifact@master
+ with:
+ name: foal-checkout
+ path: .
+ retention-days: 1
background:
timeout-minutes: 5
runs-on: ubuntu-latest
needs: setup
steps:
- - uses: actions/checkout@master
+ - name: Fetch workspace
+ uses: actions/download-artifact@master
with:
- persist-credentials: false
+ name: foal-checkout
+ path: .
- name: Setup python
uses: actions/setup-python@v2
with:
@@ -79,9 +87,11 @@ jobs:
runs-on: ubuntu-latest
needs: setup
steps:
- - uses: actions/checkout@master
+ - name: Fetch workspace
+ uses: actions/download-artifact@master
with:
- persist-credentials: false
+ name: foal-checkout
+ path: .
- name: Setup python
uses: actions/setup-python@v2
with:
@@ -98,9 +108,11 @@ jobs:
run: |
tools/import-mbox.py --source tests/resources/rfc2822-A5.eml --lid
a.b.c
- name: Show Database
+ if: always()
run: |
curl -sq "http://localhost:9200/_cat/indices?v"
- name: preferences2
+ if: always()
run: |
curl -sq http://localhost:8080/api/preferences.lua
# TODO: ideally at the end of this job, stop the background job