[Rt-commit] rt branch, 4.4/github-actions-testing, created. rt-4.4.4-205-g4035a500a3
Jim Brandt
jbrandt at bestpractical.com
Wed Jan 6 17:38:02 EST 2021
The branch, 4.4/github-actions-testing has been created
at 4035a500a3bc05f15ae67585e0b5bc68e42c3cc8 (commit)
- Log -----------------------------------------------------------------
commit 7b2dc921ac5daa9c95e36856a012268055b4febd
Author: Jim Brandt <jbrandt at bestpractical.com>
Date: Wed Jan 6 17:37:06 2021 -0500
Pause travis for testing
diff --git a/.travis.yml b/.travis.yml.pause
similarity index 100%
rename from .travis.yml
rename to .travis.yml.pause
commit 4035a500a3bc05f15ae67585e0b5bc68e42c3cc8
Author: Jim Brandt <jbrandt at bestpractical.com>
Date: Wed Jan 6 17:37:49 2021 -0500
Initial github actions config
diff --git a/github-action.yml b/github-action.yml
new file mode 100644
index 0000000000..8207737ea0
--- /dev/null
+++ b/github-action.yml
@@ -0,0 +1,37 @@
+#language: bash
+#services: docker
+
+on: push
+
+runs:
+ using: "docker"
+ image: "Dockerfile"
+
+jobs:
+ name: MariaDB and RT web server
+
+ 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/*"
-----------------------------------------------------------------------
More information about the rt-commit
mailing list