ci: only run on push

This commit is contained in:
Tim Grelka
2025-07-04 00:30:50 +02:00
parent c72b382ee3
commit 41f69e71d5
2 changed files with 4 additions and 5 deletions
+2 -3
View File
@@ -1,5 +1,5 @@
name: Pytest
on: [push, pull_request]
on: push
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
@@ -15,9 +15,8 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v5
with:
cache: 'pip'
cache: "pip"
- name: Install dependencies
run: pip install -r requirements.txt
- name: Test with pytest
run: pytest ./test --junitxml=junit/test-results.xml --cov=com --cov-report=xml --cov-report=html