forked from e-mission/e-mission-server
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
End-to-end test with full tests + build server + dispatch
- Loading branch information
1 parent
c2f2ed8
commit 67949fe
Showing
3 changed files
with
117 additions
and
135 deletions.
There are no files selected for viewing
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -19,72 +19,72 @@ on: | |
|
||
workflow_call: | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Run test-with-manual-install for 1 minute | ||
run: | | ||
echo "Starting 1-minute workflow" | ||
sleep 60 | ||
echo "1-minute workflow completed" | ||
# jobs: | ||
# build: | ||
# runs-on: ubuntu-latest | ||
# steps: | ||
# - name: Run test-with-manual-install for 1 minute | ||
# run: | | ||
# echo "Starting 1-minute workflow" | ||
# sleep 60 | ||
# echo "1-minute workflow completed" | ||
|
||
- name: Success-Failure Test Case | ||
run: | | ||
echo "Test successful" && exit 0 | ||
# echo "Test failed" && exit 1 | ||
# - name: Success-Failure Test Case | ||
# run: | | ||
# echo "Test successful" && exit 0 | ||
# # echo "Test failed" && exit 1 | ||
|
||
# # A workflow run is made up of one or more jobs that can run sequentially or in parallel | ||
# jobs: | ||
# # This workflow contains a single job called "build" | ||
# build: | ||
# # The type of runner that the job will run on | ||
# runs-on: ${{ matrix.os }} | ||
# strategy: | ||
# matrix: | ||
# os: [ubuntu-latest] | ||
# A workflow run is made up of one or more jobs that can run sequentially or in parallel | ||
jobs: | ||
# This workflow contains a single job called "build" | ||
build: | ||
# The type of runner that the job will run on | ||
runs-on: ${{ matrix.os }} | ||
strategy: | ||
matrix: | ||
os: [ubuntu-latest] | ||
|
||
# # Steps represent a sequence of tasks that will be executed as part of the job | ||
# steps: | ||
# # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it | ||
# - uses: actions/checkout@v2 | ||
# Steps represent a sequence of tasks that will be executed as part of the job | ||
steps: | ||
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it | ||
- uses: actions/checkout@v2 | ||
|
||
# - name: Install and start MongoDB | ||
# uses: supercharge/[email protected] | ||
# with: | ||
# mongodb-version: 4.4.0 | ||
- name: Install and start MongoDB | ||
uses: supercharge/[email protected] | ||
with: | ||
mongodb-version: 4.4.0 | ||
|
||
# - name: Check existing version of miniconda | ||
# shell: bash -l {0} | ||
# run: conda info -a | ||
- name: Check existing version of miniconda | ||
shell: bash -l {0} | ||
run: conda info -a | ||
|
||
# - name: Install miniconda | ||
# shell: bash -l {0} | ||
# run: | | ||
# source setup/setup_conda.sh Linux-x86_64 | ||
- name: Install miniconda | ||
shell: bash -l {0} | ||
run: | | ||
source setup/setup_conda.sh Linux-x86_64 | ||
# - name: Check whether the CI environment variable is set | ||
# shell: bash -l {0} | ||
# run: | | ||
# source setup/activate_conda.sh | ||
# echo $CI | ||
- name: Check whether the CI environment variable is set | ||
shell: bash -l {0} | ||
run: | | ||
source setup/activate_conda.sh | ||
echo $CI | ||
# - name: Setup the emission environment for testing | ||
# shell: bash -l {0} | ||
# run: | | ||
# conda --version | ||
# which conda | ||
# source setup/activate_conda.sh | ||
# conda --version | ||
# source setup/setup_tests.sh | ||
- name: Setup the emission environment for testing | ||
shell: bash -l {0} | ||
run: | | ||
conda --version | ||
which conda | ||
source setup/activate_conda.sh | ||
conda --version | ||
source setup/setup_tests.sh | ||
# - name: Switch to emission and run the tests | ||
# shell: bash -l {0} | ||
# run: | | ||
# source setup/activate_tests.sh | ||
# conda --version | ||
# ./runAllTests.sh | ||
- name: Switch to emission and run the tests | ||
shell: bash -l {0} | ||
run: | | ||
source setup/activate_tests.sh | ||
conda --version | ||
./runAllTests.sh | ||
# - name: Teardown the test environment | ||
# shell: bash -l {0} | ||
# run: source setup/teardown_tests.sh | ||
- name: Teardown the test environment | ||
shell: bash -l {0} | ||
run: source setup/teardown_tests.sh |