Skip to content
This repository was archived by the owner on Dec 24, 2025. It is now read-only.

Commit 2d67a5e

Browse files
committed
Update test pipeline
1 parent 94176bb commit 2d67a5e

File tree

3 files changed

+38
-89
lines changed

3 files changed

+38
-89
lines changed

.github/workflows/docker-image.yml

Lines changed: 0 additions & 44 deletions
This file was deleted.

.github/workflows/elixir.yml

Lines changed: 0 additions & 45 deletions
This file was deleted.

.github/workflows/tests.yml

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
# This workflow uses actions that are not certified by GitHub.
2+
# They are provided by a third-party and are governed by
3+
# separate terms of service, privacy policy, and support
4+
# documentation.
5+
6+
name: Test
7+
8+
on:
9+
workflow_call:
10+
11+
pull_request:
12+
branches: ["main"]
13+
14+
permissions:
15+
contents: read
16+
17+
jobs:
18+
build:
19+
name: Run tests
20+
runs-on: ubuntu-latest
21+
22+
steps:
23+
- uses: actions/checkout@v4
24+
- name: Set up Elixir
25+
uses: erlef/setup-beam@v1
26+
with:
27+
elixir-version: "1.18.2"
28+
otp-version: "27.3.3"
29+
- name: Restore dependencies cache
30+
uses: actions/cache@v3
31+
with:
32+
path: deps
33+
key: ${{ runner.os }}-mix-${{ hashFiles('**/mix.lock') }}
34+
restore-keys: ${{ runner.os }}-mix-
35+
- name: Install dependencies
36+
run: mix deps.get
37+
- name: Run tests
38+
run: mix test

0 commit comments

Comments
 (0)