Skip to content

Commit

Permalink
Merge pull request #4 from codemation/feature/improve_annotations_tes…
Browse files Browse the repository at this point in the history
…ts_datatypes

Feature/improve annotations tests datatypes
  • Loading branch information
codemation committed Jul 20, 2021
2 parents e234252 + 572f6d8 commit 894cbf2
Show file tree
Hide file tree
Showing 15 changed files with 1,191 additions and 220 deletions.
302 changes: 302 additions & 0 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,302 @@
name: Test EasyRpc Core Functionality
on: ['pull_request']
jobs:
test_easyrpc_core_37:
# Containers must run in Linux based operating systems
runs-on: ubuntu-latest
# Docker Hub image that `container-job` executes in
#container: joshjamison/python38:latest
strategy:
matrix:
python-version: [3.7]
steps:
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
# Downloads a copy of the code in your repository before running CI tests
- name: Check out repository code
uses: actions/checkout@v2
- name: Install dependencies
run: |
python -m pip install --upgrade pip
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
pip install pytest requests pytest-asyncio
- name: Test EasyRpc Core Functionality
run: |
pytest tests/test_core.py
test_easyrpc_cluster_1_37:
needs: test_easyrpc_core_37
# Containers must run in Linux based operating systems
runs-on: ubuntu-latest
# Docker Hub image that `container-job` executes in
#container: joshjamison/python38:latest
strategy:
matrix:
python-version: [3.7]
steps:
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
# Downloads a copy of the code in your repository before running CI tests
- name: Check out repository code
uses: actions/checkout@v2
- name: Install dependencies
run: |
python -m pip install --upgrade pip
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
pip install pytest requests pytest-asyncio
- name: Test EasyRpc Cluster Functionality - 1
run: |
pytest tests/test_clustering_1.py
test_easyrpc_cluster_2_37:
needs: test_easyrpc_cluster_1_37
# Containers must run in Linux based operating systems
runs-on: ubuntu-latest
# Docker Hub image that `container-job` executes in
#container: joshjamison/python38:latest
strategy:
matrix:
python-version: [3.7]
steps:
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
# Downloads a copy of the code in your repository before running CI tests
- name: Check out repository code
uses: actions/checkout@v2
- name: Install dependencies
run: |
python -m pip install --upgrade pip
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
pip install pytest requests pytest-asyncio
- name: Test EasyRpc Cluster Functionality - 2
run: |
pytest tests/test_clustering_2.py
test_easyrpc_cluster_3_37:
needs: test_easyrpc_cluster_2_37
# Containers must run in Linux based operating systems
runs-on: ubuntu-latest
# Docker Hub image that `container-job` executes in
#container: joshjamison/python38:latest
strategy:
matrix:
python-version: [3.7]
steps:
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
# Downloads a copy of the code in your repository before running CI tests
- name: Check out repository code
uses: actions/checkout@v2
- name: Install dependencies
run: |
python -m pip install --upgrade pip
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
pip install pytest requests pytest-asyncio
- name: Test EasyRpc Cluster Functionality - 3
run: |
pytest tests/test_clustering_3.py
test_easyrpc_core_38:
needs: test_easyrpc_cluster_3_37
# Containers must run in Linux based operating systems
runs-on: ubuntu-latest
# Docker Hub image that `container-job` executes in
#container: joshjamison/python38:latest
strategy:
matrix:
python-version: [3.8]
steps:
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
# Downloads a copy of the code in your repository before running CI tests
- name: Check out repository code
uses: actions/checkout@v2
- name: Install dependencies
run: |
python -m pip install --upgrade pip
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
pip install pytest requests pytest-asyncio
- name: Test EasyRpc Core Functionality
run: |
pytest tests/test_core.py
test_easyrpc_cluster_1_38:
needs: test_easyrpc_core_38
# Containers must run in Linux based operating systems
runs-on: ubuntu-latest
# Docker Hub image that `container-job` executes in
#container: joshjamison/python38:latest
strategy:
matrix:
python-version: [3.8]
steps:
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
# Downloads a copy of the code in your repository before running CI tests
- name: Check out repository code
uses: actions/checkout@v2
- name: Install dependencies
run: |
python -m pip install --upgrade pip
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
pip install pytest requests pytest-asyncio
- name: Test EasyRpc Cluster Functionality - 1
run: |
pytest tests/test_clustering_1.py
test_easyrpc_cluster_2_38:
needs: test_easyrpc_cluster_1_38
# Containers must run in Linux based operating systems
runs-on: ubuntu-latest
# Docker Hub image that `container-job` executes in
#container: joshjamison/python38:latest
strategy:
matrix:
python-version: [3.8]
steps:
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
# Downloads a copy of the code in your repository before running CI tests
- name: Check out repository code
uses: actions/checkout@v2
- name: Install dependencies
run: |
python -m pip install --upgrade pip
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
pip install pytest requests pytest-asyncio
- name: Test EasyRpc Cluster Functionality - 2
run: |
pytest tests/test_clustering_2.py
test_easyrpc_cluster_3_38:
needs: test_easyrpc_cluster_2_38
# Containers must run in Linux based operating systems
runs-on: ubuntu-latest
# Docker Hub image that `container-job` executes in
#container: joshjamison/python38:latest
strategy:
matrix:
python-version: [3.8]
steps:
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
# Downloads a copy of the code in your repository before running CI tests
- name: Check out repository code
uses: actions/checkout@v2
- name: Install dependencies
run: |
python -m pip install --upgrade pip
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
pip install pytest requests pytest-asyncio
- name: Test EasyRpc Cluster Functionality - 3
run: |
pytest tests/test_clustering_3.py
test_easyrpc_core_39:
needs: test_easyrpc_cluster_3_38
# Containers must run in Linux based operating systems
runs-on: ubuntu-latest
# Docker Hub image that `container-job` executes in
#container: joshjamison/python38:latest
strategy:
matrix:
python-version: [3.9]
steps:
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
# Downloads a copy of the code in your repository before running CI tests
- name: Check out repository code
uses: actions/checkout@v2
- name: Install dependencies
run: |
python -m pip install --upgrade pip
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
pip install pytest requests pytest-asyncio
- name: Test EasyRpc Core Functionality
run: |
pytest tests/test_core.py
test_easyrpc_cluster_1_39:
needs: test_easyrpc_core_39
# Containers must run in Linux based operating systems
runs-on: ubuntu-latest
# Docker Hub image that `container-job` executes in
#container: joshjamison/python38:latest
strategy:
matrix:
python-version: [3.9]
steps:
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
# Downloads a copy of the code in your repository before running CI tests
- name: Check out repository code
uses: actions/checkout@v2
- name: Install dependencies
run: |
python -m pip install --upgrade pip
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
pip install pytest requests pytest-asyncio
- name: Test EasyRpc Cluster Functionality - 1
run: |
pytest tests/test_clustering_1.py
test_easyrpc_cluster_2_39:
needs: test_easyrpc_cluster_1_39
# Containers must run in Linux based operating systems
runs-on: ubuntu-latest
# Docker Hub image that `container-job` executes in
#container: joshjamison/python38:latest
strategy:
matrix:
python-version: [3.9]
steps:
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
# Downloads a copy of the code in your repository before running CI tests
- name: Check out repository code
uses: actions/checkout@v2
- name: Install dependencies
run: |
python -m pip install --upgrade pip
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
pip install pytest requests pytest-asyncio
- name: Test EasyRpc Cluster Functionality - 2
run: |
pytest tests/test_clustering_2.py
test_easyrpc_cluster_3_39:
needs: test_easyrpc_cluster_2_39
# Containers must run in Linux based operating systems
runs-on: ubuntu-latest
# Docker Hub image that `container-job` executes in
#container: joshjamison/python38:latest
strategy:
matrix:
python-version: [3.9]
steps:
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
# Downloads a copy of the code in your repository before running CI tests
- name: Check out repository code
uses: actions/checkout@v2
- name: Install dependencies
run: |
python -m pip install --upgrade pip
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
pip install pytest requests pytest-asyncio
- name: Test EasyRpc Cluster Functionality - 3
run: |
pytest tests/test_clustering_3.py

0 comments on commit 894cbf2

Please sign in to comment.