Skip to content

Commit

Permalink
fix(ci): make test job dependent on the build job
Browse files Browse the repository at this point in the history
Signed-off-by: Morten B. Rasmussen <m.rasmussen@samsung.com>
  • Loading branch information
mbrsamsung committed Sep 5, 2024
1 parent a08db6f commit 96625c1
Showing 1 changed file with 5 additions and 8 deletions.
13 changes: 5 additions & 8 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,10 @@
name: Tests

on:
push:
branches:
- '*'
tags:
- '*'
pull_request:
types: [opened, reopened, synchronize]
branches: [main]
workflow_run:
workflows: [Build]
types:
- completed

defaults:
run:
Expand All @@ -19,6 +15,7 @@ jobs:
tests:
name: pytests
runs-on: ubuntu-22.04
if: ${{ github.event.workflow_run.conclusion == 'success' }}

steps:
- uses: actions/setup-python@v4
Expand Down

0 comments on commit 96625c1

Please sign in to comment.