Skip to content

Commit ca3f649

Browse files
yvan-srakajfroche
authored andcommitted
chores: add nix run .#ansible-test and .#check-system-module to github actions workflows
1 parent cf8ddef commit ca3f649

2 files changed

Lines changed: 48 additions & 0 deletions

File tree

.github/workflows/ansible-test.yml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: Ansible Test
2+
3+
on:
4+
pull_request:
5+
merge_group:
6+
workflow_dispatch:
7+
8+
jobs:
9+
ansible-test:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- name: Checkout Repo
13+
uses: supabase/postgres/.github/actions/shared-checkout@HEAD
14+
15+
- name: Install nix
16+
uses: ./.github/actions/nix-install-ephemeral
17+
with:
18+
push-to-cache: 'true'
19+
env:
20+
DEV_AWS_ROLE: ${{ secrets.DEV_AWS_ROLE }}
21+
NIX_SIGN_SECRET_KEY: ${{ secrets.NIX_SIGN_SECRET_KEY }}
22+
23+
- name: Run Ansible Test
24+
run: nix run .#ansible-test
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: Check System Manager
2+
3+
on:
4+
pull_request:
5+
merge_group:
6+
workflow_dispatch:
7+
8+
jobs:
9+
check-system-manager:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- name: Checkout Repo
13+
uses: supabase/postgres/.github/actions/shared-checkout@HEAD
14+
15+
- name: Install nix
16+
uses: ./.github/actions/nix-install-ephemeral
17+
with:
18+
push-to-cache: 'true'
19+
env:
20+
DEV_AWS_ROLE: ${{ secrets.DEV_AWS_ROLE }}
21+
NIX_SIGN_SECRET_KEY: ${{ secrets.NIX_SIGN_SECRET_KEY }}
22+
23+
- name: Run check-system-manager
24+
run: nix run .#check-system-manager

0 commit comments

Comments
 (0)