Skip to content

Commit

Permalink
Update backend-api-tests.yml
Browse files Browse the repository at this point in the history
try having api tests launched also on a draft PR
  • Loading branch information
eric-intuitem authored Mar 17, 2024
1 parent 243c8ce commit 853bc78
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions .github/workflows/backend-api-tests.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
name: API Tests

on:
pull_request:
paths:
- "backend/**"
- ".github/workflows/backend-api-tests.yml"
on:
pull_request:
branches: [main, develop]
types: [opened, synchronize]
paths:
- "backend/**"
- ".github/workflows/backend-api-tests.yml"
workflow_dispatch:

env:
Expand Down Expand Up @@ -63,4 +65,4 @@ jobs:
with:
name: api-tests-report
path: ${{ env.working-directory }}/pytest-report.html
retention-days: 5
retention-days: 5

0 comments on commit 853bc78

Please sign in to comment.