-
Notifications
You must be signed in to change notification settings - Fork 0
47 lines (41 loc) · 1.05 KB
/
ci.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
name: Continuous Integration
on:
pull_request:
push:
permissions:
contents: read
jobs:
test:
name: Tests
strategy:
matrix:
os:
# ignore ARM64 flavours
- macos-12-large
- macos-13-large
- macos-14-large
- ubuntu-20.04
- ubuntu-22.04
- ubuntu-24.04
- windows-2019
- windows-2022
runs-on: ${{ matrix.os }}
steps:
# cloning into "root" does not work when trying to call the action from itself
# inspired by Microsoft: https://github.com/microsoft/action-python/blob/c8ec939994d7ed2ec77b7bbe59ed5f5b72fb5607/.github/workflows/test.yml#L21
- name: Checkout
uses: actions/checkout@v4
with:
path: action
clean: true
- name: Run Action
uses: ./action
with:
components: sqlcmd,sqlengine
sa-password: "bHuZH81%cGC6"
- name: Run tests
run: |
action/test.ps1
shell: pwsh
env:
SA_PASSWORD: "bHuZH81%cGC6"