You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ponymail.apache.org by se...@apache.org on 2022/01/22 15:38:50 UTC
[incubator-ponymail-foal] branch master updated: Each job needs setting up
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 338c60a Each job needs setting up
338c60a is described below
commit 338c60a62432846dc399a9c653475611cee015f6
Author: Sebb <se...@apache.org>
AuthorDate: Sat Jan 22 15:38:42 2022 +0000
Each job needs setting up
---
.github/workflows/integration-tests.yml | 28 ++++++++++++++++++++++++----
1 file changed, 24 insertions(+), 4 deletions(-)
diff --git a/.github/workflows/integration-tests.yml b/.github/workflows/integration-tests.yml
index 163146f..8618acb 100644
--- a/.github/workflows/integration-tests.yml
+++ b/.github/workflows/integration-tests.yml
@@ -39,8 +39,6 @@ jobs:
run: |
python -m pip install --upgrade pip
pip install -r tools/requirements.txt
- pip install -r server/requirements.txt
- # pip install html2text # optional dependency, but needed for tests
- name: Basic test
run: |
curl -sq "http://localhost:9200/_cluster/health?level=indices&pretty"
@@ -54,11 +52,24 @@ 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"
+
background:
timeout-minutes: 5
runs-on: ubuntu-latest
needs: setup
steps:
+ - uses: actions/checkout@master
+ with:
+ persist-credentials: false
+ - name: Setup python
+ uses: actions/setup-python@v2
+ with:
+ python-version: '3.7'
+ architecture: x64
+ - name: Install dependencies
+ run: |
+ python -m pip install --upgrade pip
+ pip install -r server/requirements.txt
- name: server
run: |
cd server
@@ -68,9 +79,18 @@ jobs:
runs-on: ubuntu-latest
needs: setup
steps:
- - name: wait for background
+ - uses: actions/checkout@master
+ with:
+ persist-credentials: false
+ - name: Setup python
+ uses: actions/setup-python@v2
+ with:
+ python-version: '3.7'
+ architecture: x64
+ - name: Install dependencies
run: |
- sleep 10
+ python -m pip install --upgrade pip
+ pip install -r tools/requirements.txt
- name: preferences1
run: |
curl -sq http://localhost:8080/api/preferences.lua