Skip to content

Commit 0f369bf

Browse files
committed
Test docker in docker
1 parent 83319c8 commit 0f369bf

File tree

6 files changed

+23
-302
lines changed

6 files changed

+23
-302
lines changed

.github/workflows/pre-commit.yml

Lines changed: 0 additions & 23 deletions
This file was deleted.

.github/workflows/tests-e2e.yml

Lines changed: 0 additions & 91 deletions
This file was deleted.

.github/workflows/tests-fuzzy.yml

Lines changed: 0 additions & 71 deletions
This file was deleted.

.github/workflows/tests-package.yml

Lines changed: 0 additions & 53 deletions
This file was deleted.

.github/workflows/tests-performance.yml

Lines changed: 23 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -17,32 +17,38 @@ on:
1717
- '.github/workflows/tests-performance.yml'
1818

1919
jobs:
20-
test:
20+
test1:
2121
runs-on: tools-gha-runners
22+
container:
23+
options: --cpus 1
2224
timeout-minutes: 30
2325
steps:
2426
- name: Checkout repository
2527
uses: actions/checkout@v4
2628

27-
- name: Install Python
28-
uses: actions/setup-python@v5
29+
- name: Set up Python
30+
uses: actions/setup-python@v4
2931
with:
30-
python-version: "3.10"
32+
python-version: '3.11'
3133

32-
- name: Install dependencies
34+
- name: Run test
3335
run: |
34-
python -m pip install --upgrade pip &&
35-
pip install -r dev_requirements.txt
36+
python3 -c "for _ in range(50_000_000): a = 1"
3637
37-
- name: Run performance tests
38-
run: |
39-
pytest --junitxml="test-results/test-performance.xml" tests/performance
38+
test2:
39+
runs-on: tools-gha-runners
40+
container:
41+
options: --cpus .1
42+
timeout-minutes: 30
43+
steps:
44+
- name: Checkout repository
45+
uses: actions/checkout@v4
4046

41-
- name: Report
42-
uses: mikepenz/action-junit-report@v5
43-
if: always()
47+
- name: Set up Python
48+
uses: actions/setup-python@v4
4449
with:
45-
report_paths: "./test-results/test-performance*.xml"
46-
update_check: true
47-
annotate_notice: true
48-
job_name: "Performance tests"
50+
python-version: '3.11'
51+
52+
- name: Run test
53+
run: |
54+
python3 -c "for _ in range(50_000_000): a = 1"

.github/workflows/tests-unit.yml

Lines changed: 0 additions & 47 deletions
This file was deleted.

0 commit comments

Comments
 (0)