|
1 | 1 | name: Test EasyRpc Core Functionality |
2 | 2 | on: ['pull_request'] |
3 | 3 | jobs: |
4 | | - test_easyrpc_core_37: |
5 | | - # Containers must run in Linux based operating systems |
6 | | - runs-on: ubuntu-latest |
7 | | - # Docker Hub image that `container-job` executes in |
8 | | - #container: joshjamison/python38:latest |
9 | | - strategy: |
10 | | - matrix: |
11 | | - python-version: [3.7] |
12 | | - steps: |
13 | | - - name: Set up Python ${{ matrix.python-version }} |
14 | | - uses: actions/setup-python@v2 |
15 | | - with: |
16 | | - python-version: ${{ matrix.python-version }} |
17 | | - # Downloads a copy of the code in your repository before running CI tests |
18 | | - - name: Check out repository code |
19 | | - uses: actions/checkout@v2 |
20 | | - - name: Install dependencies |
21 | | - run: | |
22 | | - python -m pip install --upgrade pip |
23 | | - if [ -f requirements.txt ]; then pip install -r requirements.txt; fi |
24 | | - pip install pytest requests pytest-asyncio |
25 | | - - name: Test EasyRpc Core Functionality |
26 | | - run: | |
27 | | - pytest tests/test_core.py |
28 | | - test_easyrpc_cluster_1_37: |
29 | | - needs: test_easyrpc_core_37 |
30 | | - # Containers must run in Linux based operating systems |
31 | | - runs-on: ubuntu-latest |
32 | | - # Docker Hub image that `container-job` executes in |
33 | | - #container: joshjamison/python38:latest |
34 | | - strategy: |
35 | | - matrix: |
36 | | - python-version: [3.7] |
37 | | - steps: |
38 | | - - name: Set up Python ${{ matrix.python-version }} |
39 | | - uses: actions/setup-python@v2 |
40 | | - with: |
41 | | - python-version: ${{ matrix.python-version }} |
42 | | - # Downloads a copy of the code in your repository before running CI tests |
43 | | - - name: Check out repository code |
44 | | - uses: actions/checkout@v2 |
45 | | - - name: Install dependencies |
46 | | - run: | |
47 | | - python -m pip install --upgrade pip |
48 | | - if [ -f requirements.txt ]; then pip install -r requirements.txt; fi |
49 | | - pip install pytest requests pytest-asyncio |
50 | | - - name: Test EasyRpc Cluster Functionality - 1 |
51 | | - run: | |
52 | | - pytest tests/test_clustering_1.py |
53 | | - test_easyrpc_cluster_2_37: |
54 | | - needs: test_easyrpc_cluster_1_37 |
55 | | - # Containers must run in Linux based operating systems |
56 | | - runs-on: ubuntu-latest |
57 | | - # Docker Hub image that `container-job` executes in |
58 | | - #container: joshjamison/python38:latest |
59 | | - strategy: |
60 | | - matrix: |
61 | | - python-version: [3.7] |
62 | | - steps: |
63 | | - - name: Set up Python ${{ matrix.python-version }} |
64 | | - uses: actions/setup-python@v2 |
65 | | - with: |
66 | | - python-version: ${{ matrix.python-version }} |
67 | | - # Downloads a copy of the code in your repository before running CI tests |
68 | | - - name: Check out repository code |
69 | | - uses: actions/checkout@v2 |
70 | | - - name: Install dependencies |
71 | | - run: | |
72 | | - python -m pip install --upgrade pip |
73 | | - if [ -f requirements.txt ]; then pip install -r requirements.txt; fi |
74 | | - pip install pytest requests pytest-asyncio |
75 | | - - name: Test EasyRpc Cluster Functionality - 2 |
76 | | - run: | |
77 | | - pytest tests/test_clustering_2.py |
78 | | - test_easyrpc_cluster_3_37: |
79 | | - needs: test_easyrpc_cluster_2_37 |
80 | | - # Containers must run in Linux based operating systems |
81 | | - runs-on: ubuntu-latest |
82 | | - # Docker Hub image that `container-job` executes in |
83 | | - #container: joshjamison/python38:latest |
84 | | - strategy: |
85 | | - matrix: |
86 | | - python-version: [3.7] |
87 | | - steps: |
88 | | - - name: Set up Python ${{ matrix.python-version }} |
89 | | - uses: actions/setup-python@v2 |
90 | | - with: |
91 | | - python-version: ${{ matrix.python-version }} |
92 | | - # Downloads a copy of the code in your repository before running CI tests |
93 | | - - name: Check out repository code |
94 | | - uses: actions/checkout@v2 |
95 | | - - name: Install dependencies |
96 | | - run: | |
97 | | - python -m pip install --upgrade pip |
98 | | - if [ -f requirements.txt ]; then pip install -r requirements.txt; fi |
99 | | - pip install pytest requests pytest-asyncio |
100 | | - - name: Test EasyRpc Cluster Functionality - 3 |
101 | | - run: | |
102 | | - pytest tests/test_clustering_3.py |
103 | 4 | test_easyrpc_core_38: |
104 | | - needs: test_easyrpc_cluster_3_37 |
105 | 5 | # Containers must run in Linux based operating systems |
106 | 6 | runs-on: ubuntu-latest |
107 | 7 | # Docker Hub image that `container-job` executes in |
|
0 commit comments