Skip to content

Commit 7703dda

Browse files
authored
Fix flaky fail unit test from cause in integration tests (#169) separate run unit and integration tests
1 parent c8db459 commit 7703dda

File tree

2 files changed

+15
-6
lines changed

2 files changed

+15
-6
lines changed

.github/workflows/tests.yaml

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,24 +11,33 @@ jobs:
1111
runs-on: ubuntu-latest
1212

1313
concurrency:
14-
group: unit-${{ github.ref }}-${{ matrix.environment }}-${{ matrix.python-version }}
14+
group: unit-${{ github.ref }}-${{ matrix.environment }}-${{ matrix.python-version }}-${{ matrix.folder }}
1515
cancel-in-progress: true
1616

1717
strategy:
18+
fail-fast: false
1819
max-parallel: 4
1920
matrix:
2021
python-version: [3.8]
2122
environment: [py, py-tls, py-proto3, py-tls-proto3]
23+
folder: [ydb, tests]
24+
exclude:
25+
- environment: py-tls
26+
folder: ydb
27+
- environment: py-tls-proto3
28+
folder: ydb
2229

2330
steps:
2431
- uses: actions/checkout@v1
2532
- name: Set up Python ${{ matrix.python-version }}
2633
uses: actions/setup-python@v2
2734
with:
2835
python-version: ${{ matrix.python-version }}
29-
- name: Install dependencies
36+
37+
- name: Install tox
3038
run: |
3139
python -m pip install --upgrade pip
3240
pip install tox==4.2.6
33-
- name: Test with tox
34-
run: tox -e ${{ matrix.environment }}
41+
42+
- name: Run unit tests
43+
run: tox -e ${{ matrix.environment }} -- ${{ matrix.folder }}

test-requirements.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ docker==5.0.0
1111
docker-compose==1.29.2
1212
dockerpty==0.4.1
1313
docopt==0.6.2
14-
grpcio==1.42.0
15-
grpcio-tools==1.42.0
14+
grpcio==1.47.0
15+
grpcio-tools==1.47.0
1616
idna==3.2
1717
importlib-metadata==4.6.1
1818
iniconfig==1.1.1

0 commit comments

Comments
 (0)