Skip to content

Commit 4ea0d81

Browse files
committed
Add ci.yml
1 parent 791f5c7 commit 4ea0d81

File tree

2 files changed

+23
-0
lines changed

2 files changed

+23
-0
lines changed

.github/workflows/ci.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
name: ci
2+
3+
on:
4+
push:
5+
pull_request:
6+
7+
jobs:
8+
test:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- uses: actions/checkout@v4
12+
- name: Build the stack
13+
run: docker-compose up -d
14+
- name: Test
15+
run: docker compose logs sqlpackage
16+
- name: Stats
17+
run: docker-compose stats --no-stream
18+
- name: Stop the stack
19+
run: docker-compose down -v
20+

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
# azure-sql-deploy-dacpac
22

3+
[![license](https://img.shields.io/github/license/atrakic/azure-sql-deploy-dacpac.svg)](https://github.com/atrakic/azure-sql-deploy-dacpac/blob/main/LICENSE)
4+
[![ci](https://github.com/atrakic/azure-sql-deploy-dacpac/actions/workflows/ci.yml/badge.svg)](https://github.com/atrakic/azure-sql-deploy-dacpac/actions/workflows/ci.yml)
5+
36
## Overview
47

58
> This project demonstrates how to deploy a [dacpac](https://learn.microsoft.com/en-us/sql/relational-databases/data-tier-applications/data-tier-applications?view=sql-server-ver16) to an Azure SQL Database using a GitHub Action.

0 commit comments

Comments
 (0)