mirror of
https://github.com/dandavison/delta.git
synced 2026-10-11 21:59:54 +00:00
Run tests before releasing: CI never ran on pushes to main (it listed master); gate cd.yml on CI and run cargo test in make release
This commit is contained in:
@@ -6,7 +6,11 @@ on:
|
||||
- '[0-9]+.[0-9]+.[0-9]+'
|
||||
|
||||
jobs:
|
||||
ci:
|
||||
uses: ./.github/workflows/ci.yml
|
||||
|
||||
publish:
|
||||
needs: ci
|
||||
name: Publishing for ${{ matrix.job.os }}
|
||||
runs-on: ${{ matrix.job.os }}
|
||||
strategy:
|
||||
|
||||
@@ -3,8 +3,9 @@ name: CI
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
- main
|
||||
pull_request:
|
||||
workflow_call:
|
||||
|
||||
jobs:
|
||||
unit_tests:
|
||||
|
||||
@@ -17,6 +17,7 @@ check-environment:
|
||||
[ -n "$$DELTA_OLD_VERSION" ]
|
||||
[ -n "$$DELTA_NEW_VERSION" ]
|
||||
mkdir -p .make-sentinels
|
||||
cargo test
|
||||
@echo "Release: $$DELTA_OLD_VERSION => $$DELTA_NEW_VERSION"
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user