Skip to content

Commit

Permalink
Merge branch 'master' into jazambuja_update_to_elixir_1.15
Browse files Browse the repository at this point in the history
  • Loading branch information
juanazam committed Feb 19, 2024
2 parents cdf129e + cc3f93b commit 3ec98c6
Show file tree
Hide file tree
Showing 3 changed files with 51 additions and 29 deletions.
50 changes: 50 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
name: CI

on:
push:
branches:
- master
pull_request:

jobs:
lint:
name: Code linting
uses: lexmag/elixir-actions/.github/workflows/lint.yml@v2
with:
otp-version: "24"
elixir-version: "1.14"

test:
name: Test suite
runs-on: ubuntu-20.04

strategy:
matrix:
otp: ["24"]
elixir: ["1.14"]
runtime_config: [true, false]

include:
- otp: "20"
elixir: "1.6"
runtime_config: false

env:
MIX_ENV: test

steps:
- uses: actions/checkout@v3

- name: Set up Elixir environment
uses: erlef/setup-beam@v1
with:
elixir-version: ${{ matrix.elixir }}
otp-version: ${{ matrix.otp }}

- name: Install dependencies
run: mix deps.get --only test

- name: Run tests
run: mix test
env:
STATIX_TEST_RUNTIME_CONFIG: ${{ matrix.runtime_config }}
28 changes: 0 additions & 28 deletions .travis.yml

This file was deleted.

2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Statix

[![Build Status](https://travis-ci.com/lexmag/statix.svg?branch=master)](https://travis-ci.com/lexmag/statix)
[![CI Status](https://github.com/lexmag/statix/actions/workflows/ci.yml/badge.svg?branch=master)](https://github.com/lexmag/statix/actions/workflows/ci.yml)
[![Hex Version](https://img.shields.io/hexpm/v/statix.svg "Hex Version")](https://hex.pm/packages/statix)

Statix is an Elixir client for StatsD-compatible servers.
Expand Down

0 comments on commit 3ec98c6

Please sign in to comment.