Skip to main content

Elixir

Running the pre-built Elixir pipeline directly

Run the following command to run the pre-built Elixir pipeline without having to initialize a project:

fluentci run elixir test

Add Elixir Pipeline to your project

Run the following command to add Elixir pipeline to your project:

fluentci init -t elixir

This will create a .fluentci directory in your project, feel free to customize the pipeline for your needs. You can then run the following command to start the pipeline:

fluentci run .

Jobs

JobDescription
testRun your tests

Programmatic usage

You can also use this pipeline programmatically:

import { test } from "jsr:@fluentci/elixir";

await test();

CI/CD Integration

The following example shows how to integrate FluentCI with popular CI providers to test Elixir applications:

ci.yml
name: ci
on:
push:
branches:
- main
jobs:
tasks:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Setup Fluent CI
uses: fluentci-io/setup-fluentci@v5
- name: test
run: fluentci run --wasm elixir test