Skip to content

Commit 95c3ffd

Browse files
committed
ci: add workflow for running tests
1 parent 3590c73 commit 95c3ffd

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

.github/workflows/test.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
name: "Run tests"
2+
3+
on:
4+
push:
5+
pull_request:
6+
types: ["synchronize"]
7+
8+
jobs:
9+
build:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- name: Check out repo
13+
uses: actions/checkout@v4
14+
- name: Install Lix
15+
uses: samueldr/lix-gha-installer-action@v1
16+
- name: Run `mix test` in a Nix shell
17+
run: nix develop -c mix test

0 commit comments

Comments
 (0)