Conslidate the ASIC tests into a single CI workflow step.
@@ -3,7 +3,7 @@ on: [workflow_dispatch, pull_request, pull_request_review]
jobs:
gcd_test_job:
runs-on: self-hosted
- name: 'GCD test build'
+ name: 'ASIC tests'
steps:
- uses: actions/checkout@v2
- run: |
@@ -11,47 +11,7 @@ jobs:
source $GITHUB_WORKSPACE/clean_env/bin/activate
echo $VIRTUAL_ENV
pip3 install -r $GITHUB_WORKSPACE/requirements.txt -e $GITHUB_WORKSPACE/.
- pytest $GITHUB_WORKSPACE/tests/asic/test_gcd.py
- gcd_loopback_test:
- runs-on: self-hosted
- name: 'GCD "local server" test build'
- steps:
- - uses: actions/checkout@v2
- - run: |
- python3 -m venv create $GITHUB_WORKSPACE/clean_env --clear
- source $GITHUB_WORKSPACE/clean_env/bin/activate
- pip3 install -r $GITHUB_WORKSPACE/requirements.txt -e $GITHUB_WORKSPACE/.
- pytest $GITHUB_WORKSPACE/tests/asic/test_gcd_server.py
- gcd_permutations_test:
- runs-on: self-hosted
- name: 'GCD test build with two permutations'
- steps:
- - uses: actions/checkout@v2
- - run: |
- python3 -m venv create $GITHUB_WORKSPACE/clean_env --clear
- source $GITHUB_WORKSPACE/clean_env/bin/activate
- pip3 install -r $GITHUB_WORKSPACE/requirements.txt -e $GITHUB_WORKSPACE/.
- pytest $GITHUB_WORKSPACE/tests/asic/test_gcd_perms.py
- gcd_loopback_permutations_test:
- runs-on: self-hosted
- name: 'GCD "local server" test build with two permutations'
- steps:
- - uses: actions/checkout@v2
- - run: |
- python3 -m venv create $GITHUB_WORKSPACE/clean_env --clear
- source $GITHUB_WORKSPACE/clean_env/bin/activate
- pip3 install -r $GITHUB_WORKSPACE/requirements.txt -e $GITHUB_WORKSPACE/.
- pytest $GITHUB_WORKSPACE/tests/asic/test_gcd_server_perms.py
- gcd_python_api_test:
- runs-on: self-hosted
- name: 'GCD test build using the Python API (no shell calls)'
- steps:
- - uses: actions/checkout@v2
- - run: |
- python3 -m venv create $GITHUB_WORKSPACE/clean_env --clear
- source $GITHUB_WORKSPACE/clean_env/bin/activate
- pip3 install -r $GITHUB_WORKSPACE/requirements.txt -e $GITHUB_WORKSPACE/.
- pytest $GITHUB_WORKSPACE/tests/asic/test_gcd_py.py
+ pytest $GITHUB_WORKSPACE/tests/asic/
fpga_test_job:
runs-on: self-hosted
name: 'FPGA test builds'
