Skip to content

Commit c0a46ea

Browse files
authored
Merge pull request #5 from ndugram/edit_test
Remove benchmark job from CI workflow
2 parents e39dec4 + 3b2a639 commit c0a46ea

1 file changed

Lines changed: 1 addition & 63 deletions

File tree

‎.github/workflows/tests.yml‎

Lines changed: 1 addition & 63 deletions
Original file line numberDiff line numberDiff line change
@@ -41,11 +41,7 @@ jobs:
4141
python -m pip install --upgrade pip
4242
pip install -e ".[dev]"
4343
44-
- name: Run unit tests
45-
run: |
46-
python -m pytest tests/ -v
47-
48-
- name: Run integration tests
44+
- name: Run tests
4945
run: |
5046
python -m pytest tests/ -v
5147
@@ -60,61 +56,3 @@ jobs:
6056
flags: unittests
6157
name: codecov-umbrella
6258

63-
lint:
64-
runs-on: ubuntu-latest
65-
66-
steps:
67-
- name: Checkout
68-
uses: actions/checkout@v4
69-
70-
- name: Set up Python
71-
uses: actions/setup-python@v5
72-
with:
73-
python-version: '3.12'
74-
cache: 'pip'
75-
76-
- name: Install dependencies
77-
run: |
78-
python -m pip install --upgrade pip
79-
pip install -e ".[dev]"
80-
81-
# - name: Run linting
82-
# run: |
83-
# ruff check fasthttp/
84-
85-
# - name: Run type checking
86-
# run: |
87-
# mypy fasthttp/ --ignore-missing-imports
88-
89-
benchmark:
90-
runs-on: ubuntu-latest
91-
if: github.event_name == 'push' && (github.ref == 'refs/heads/main' || github.ref == 'refs/heads/master')
92-
93-
steps:
94-
- name: Checkout
95-
uses: actions/checkout@v4
96-
97-
- name: Set up Python
98-
uses: actions/setup-python@v5
99-
with:
100-
python-version: '3.12'
101-
cache: 'pip'
102-
103-
- name: Install dependencies
104-
run: |
105-
python -m pip install --upgrade pip
106-
pip install -e ".[dev]" pytest-benchmark
107-
108-
- name: Run benchmarks
109-
run: |
110-
python -m pytest tests/benchmark/ --benchmark-only --benchmark-autosave
111-
112-
- name: Store benchmark result
113-
uses: benchmark-action/github-action-benchmark@v1
114-
with:
115-
tool: 'pytest'
116-
output-file-path: .github/benchmarks/benchmarks.json
117-
github-token: ${{ secrets.GITHUB_TOKEN }}
118-
auto-push: true
119-
alert-threshold: '150%'
120-
comment-on-alert: true

0 commit comments

Comments
 (0)