Error handling here, too #248
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: "Deploy TWCManager Test Suite" | |
on: | |
push: | |
jobs: | |
twcmanager-python3_6_direct: | |
name: Python 3.6 - Run Direct | |
runs-on: [ "self-hosted", "build_host" ] | |
container: | |
image: twcmanager/twcmanager-testsuite:py3.6.13 | |
options: --user root | |
steps: | |
- name: "Checkout Repository" | |
uses: actions/checkout@v3 | |
- name: "Upgrade setuptools" | |
run: pip3 install --upgrade setuptools | |
- name: "Build Project" | |
run: CI=1 make webbuild | |
- name: "Deploy Test Configuration" | |
run: make testconfig | |
- name: "Install Legacy Web Files" | |
run: make webfiles | |
- name: "Run Test Suite" | |
run: make test_direct | |
- name: "Upload any debug files collected" | |
if: always() | |
run: make upload | |
twcmanager-python3_6_service: | |
name: Python 3.6 - Run as a Service | |
runs-on: [ "self-hosted", "build_host" ] | |
container: | |
image: twcmanager/twcmanager-testsuite:py3.6.13 | |
options: --user root | |
steps: | |
- name: "Checkout Repository" | |
uses: actions/checkout@v3 | |
- name: "Upgrade setuptools" | |
run: pip3 install --upgrade setuptools | |
- name: "Build Project" | |
run: CI=1 make webbuild | |
- name: "Deploy Test Configuration" | |
run: make testconfig | |
- name: "Install Legacy Web Files" | |
run: make webfiles | |
- name: "Run Test Suite" | |
run: make test_service_nofail | |
- name: "Upload any debug files collected" | |
if: always() | |
run: make upload | |
twcmanager-python3_7_direct: | |
name: Python 3.7 - Run Direct | |
runs-on: [ "self-hosted", "build_host" ] | |
container: | |
image: twcmanager/twcmanager-testsuite:py3.7.10 | |
options: --user root | |
steps: | |
- name: "Checkout Repository" | |
uses: actions/checkout@v3 | |
- name: "Build Project" | |
run: CI=1 make webbuild | |
- name: "Deploy Test Configuration" | |
run: make testconfig | |
- name: "Install Legacy Web Files" | |
run: make webfiles | |
- name: "Run Test Suite" | |
run: make test_direct | |
- name: "Upload any debug files collected" | |
if: always() | |
run: make upload | |
twcmanager-python3_7_service: | |
name: Python 3.7 - Run as a Service | |
runs-on: [ "self-hosted", "build_host" ] | |
container: | |
image: twcmanager/twcmanager-testsuite:py3.7.10 | |
options: --user root | |
steps: | |
- name: "Checkout Repository" | |
uses: actions/checkout@v3 | |
- name: "Build Project" | |
run: CI=1 make webbuild | |
- name: "Deploy Test Configuration" | |
run: make testconfig | |
- name: "Install Legacy Web Files" | |
run: make webfiles | |
- name: "Run Test Suite" | |
run: make test_service_nofail | |
- name: "Upload any debug files collected" | |
if: always() | |
run: make upload | |
twcmanager-python3_8_direct: | |
name: Python 3.8 - Run Direct | |
runs-on: [ "self-hosted", "build_host" ] | |
container: | |
image: twcmanager/twcmanager-testsuite:py3.8.12 | |
options: --user root | |
steps: | |
- name: "Checkout Repository" | |
uses: actions/checkout@v3 | |
- name: "Upgrade setuptools" | |
run: pip3 install --upgrade setuptools | |
- name: "Build Project" | |
run: CI=1 make webbuild | |
- name: "Deploy Test Configuration" | |
run: make testconfig | |
- name: "Install Legacy Web Files" | |
run: make webfiles | |
- name: "Run Test Suite" | |
run: make test_direct | |
- name: "Upload any debug files collected" | |
if: always() | |
run: make upload | |
twcmanager-python3_9_direct: | |
name: Python 3.9 - Run Direct | |
runs-on: [ "self-hosted", "build_host" ] | |
container: | |
image: twcmanager/twcmanager-testsuite:py3.9.10 | |
options: --user root | |
steps: | |
- name: "Checkout Repository" | |
uses: actions/checkout@v3 | |
- name: "Upgrade setuptools" | |
run: pip3 install --upgrade setuptools | |
- name: "Build Project" | |
run: CI=1 make webbuild | |
- name: "Deploy Test Configuration" | |
run: make testconfig | |
- name: "Install Legacy Web Files" | |
run: make webfiles | |
- name: "Run Test Suite" | |
run: make test_direct | |
- name: "Upload any debug files collected" | |
if: always() | |
run: make upload | |