Skip to content

Commit

Permalink
update ci
Browse files Browse the repository at this point in the history
  • Loading branch information
jmoralez committed Nov 3, 2023
1 parent 47fb948 commit 4b8019b
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ name: CI
on:
push:
branches: [main]
tags: ['v*']
pull_request:
branches: [main]
workflow_dispatch:
Expand Down Expand Up @@ -52,7 +53,7 @@ jobs:
path: ./wheelhouse/*.whl
retention-days: 1

run-tests:
run_tests:
needs: [build_wheels]
runs-on: ${{ matrix.os }}
strategy:
Expand Down Expand Up @@ -108,7 +109,7 @@ jobs:
upload_to_pypi:
name: 'Upload to PyPI'
if: github.repository == 'Nixtla/coreforecast' && startsWith(github.ref, 'refs/tags/v')
needs: [build_wheels, build_sdist]
needs: [build_wheels, build_sdist, run_tests]
runs-on: ubuntu-latest
permissions:
id-token: write
Expand Down

0 comments on commit 4b8019b

Please sign in to comment.