Skip to content

Commit a65cf78

Browse files
committed
add elixir workflow
1 parent d38898a commit a65cf78

File tree

2 files changed

+33
-0
lines changed

2 files changed

+33
-0
lines changed
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
name: Samples Elixir
2+
3+
on:
4+
push:
5+
paths:
6+
- samples/client/petstore/elixir/**
7+
pull_request:
8+
paths:
9+
- samples/client/petstore/elixir/**
10+
jobs:
11+
build:
12+
name: Build Elixir projects
13+
runs-on: ubuntu-latest
14+
name: OTP ${{matrix.otp}} / Elixir ${{matrix.elixir}}
15+
strategy:
16+
matrix:
17+
otp: ['25.3.2', '26.2.5', '27.3.3']
18+
elixir: ['1.18.3']
19+
sample:
20+
- samples/client/petstore/elixir/
21+
steps:
22+
- uses: actions/checkout@v4
23+
- uses: erlef/setup-beam@v1
24+
with:
25+
otp-version: ${{matrix.otp}}
26+
elixir-version: ${{matrix.elixir}}
27+
- name: mix deps.get
28+
run: mix deps.get
29+
working-directory: ${{ matrix.sample }}
30+
- name: mix test
31+
run: mix test
32+
working-directory: ${{ matrix.sample }}

samples/client/petstore/elixir/.openapi-generator-ignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,3 +21,4 @@
2121
#docs/*.md
2222
# Then explicitly reverse the ignore rule for a single file:
2323
#!docs/README.md
24+
#

0 commit comments

Comments
 (0)