[Rt-commit] rt branch, 4.4/github-actions-testing, updated. rt-4.4.4-207-g99965ae118
Jim Brandt
jbrandt at bestpractical.com
Wed Jan 6 17:46:53 EST 2021
The branch, 4.4/github-actions-testing has been updated
via 99965ae118f9310981e140b41c84ced4fabddaeb (commit)
from 62ac90d91ddcd270cc2c46859c90e581ea12f812 (commit)
Summary of changes:
.github/workflows/github-action.yml | 54 +++++++++++++++++++------------------
1 file changed, 28 insertions(+), 26 deletions(-)
- Log -----------------------------------------------------------------
commit 99965ae118f9310981e140b41c84ced4fabddaeb
Author: Jim Brandt <jbrandt at bestpractical.com>
Date: Wed Jan 6 17:46:48 2021 -0500
Add individual jobs
diff --git a/.github/workflows/github-action.yml b/.github/workflows/github-action.yml
index 8207737ea0..1d733349b3 100644
--- a/.github/workflows/github-action.yml
+++ b/.github/workflows/github-action.yml
@@ -8,30 +8,32 @@ runs:
image: "Dockerfile"
jobs:
- name: MariaDB and RT web server
+ setup:
+ steps:
+ - name: Build RT
+ uses: actions/checkout at v2
+ env:
+ RT_TEST_PARALLEL: 1
+ RT_DBA_USER: root
+ RT_DBA_PASSWORD: password
+ DB_VERSION_TAG: 10.3
+ shell: bash
+ run: |
+ docker run --name mariadb -e MYSQL_ROOT_PASSWORD=password -d mariadb:$DB_VERSION_TAG
+ docker build -t rt-base .
+ docker run -d -v $GITHUB_WORKSPACE:/rt --name rt --link mariadb:db rt-base
+ docker ps -a
+ docker exec -it rt bash -c "cd /rt && ./configure.ac --with-db-type=mysql --with-my-user-group --enable-layout=inplace --enable-developer --enable-externalauth --enable-gpg --enable-smime && mkdir -p /rt/var && make testdeps"
- steps:
- - name: Build RT
- uses: actions/checkout at v2
- env:
- RT_TEST_PARALLEL: 1
- RT_DBA_USER: root
- RT_DBA_PASSWORD: password
- DB_VERSION_TAG: 10.3
- shell: bash
- run: |
- docker run --name mariadb -e MYSQL_ROOT_PASSWORD=password -d mariadb:$DB_VERSION_TAG
- docker build -t rt-base .
- docker run -d -v $GITHUB_WORKSPACE:/rt --name rt --link mariadb:db rt-base
- docker ps -a
- docker exec -it rt bash -c "cd /rt && ./configure.ac --with-db-type=mysql --with-my-user-group --enable-layout=inplace --enable-developer --enable-externalauth --enable-gpg --enable-smime && mkdir -p /rt/var && make testdeps"
-
- - name: Run RT tests
- uses: actions/checkout at v2
- env:
- RT_TEST_PARALLEL: 1
- RT_DBA_USER: root
- RT_DBA_PASSWORD: password
- DB_VERSION_TAG: 10.3
- shell: bash
- run: docker exec -it rt bash -c "cd /rt && prove -lj9 t/*"
+ build:
+ needs: setup
+ steps:
+ - name: Run RT tests
+ uses: actions/checkout at v2
+ env:
+ RT_TEST_PARALLEL: 1
+ RT_DBA_USER: root
+ RT_DBA_PASSWORD: password
+ DB_VERSION_TAG: 10.3
+ shell: bash
+ run: docker exec -it rt bash -c "cd /rt && prove -lj9 t/*"
-----------------------------------------------------------------------
More information about the rt-commit
mailing list