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/23 01:19:51 UTC

[incubator-ponymail-foal] branch master updated: Try a single job

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 3550bc2  Try a single job
3550bc2 is described below

commit 3550bc2f9c8f42ba5180404cac18626f29c8c7dc
Author: Sebb <se...@apache.org>
AuthorDate: Sun Jan 23 01:19:43 2022 +0000

    Try a single job
---
 .github/workflows/integration-tests.yml | 48 ++-------------------------------
 1 file changed, 2 insertions(+), 46 deletions(-)

diff --git a/.github/workflows/integration-tests.yml b/.github/workflows/integration-tests.yml
index c6466ef..7eb3513 100644
--- a/.github/workflows/integration-tests.yml
+++ b/.github/workflows/integration-tests.yml
@@ -39,6 +39,7 @@ jobs:
       run: |
         python -m pip install --upgrade pip
         pip install -r tools/requirements.txt
+        pip install -r server/requirements.txt
     - name: Basic test
       run: |
         curl -sq "http://localhost:9200/_cluster/health?level=indices&pretty"
@@ -52,55 +53,10 @@ 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:
-    - name: Fetch workspace
-      uses: actions/download-artifact@master
-      with:
-        name: foal-checkout
-        path: .
-    - 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
-        python main.py --apilog INFO --logger INFO
-
-  tests:
-    runs-on: ubuntu-latest
-    needs: setup
-    steps:
-    - name: Fetch workspace
-      uses: actions/download-artifact@master
-      with:
-        name: foal-checkout
-        path: .
-    - 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 tools/requirements.txt
+        python main.py --apilog INFO --logger INFO &
     - name: preferences1
       run: |
         curl -sq http://localhost:8080/api/preferences.lua