Skip to content

Commit

Permalink
Merge pull request #10 from mattmatters/ci
Browse files Browse the repository at this point in the history
Replace circleci with github actions
  • Loading branch information
bismark authored Nov 26, 2024
2 parents 4565df3 + 46e92c5 commit 1fc95de
Show file tree
Hide file tree
Showing 3 changed files with 44 additions and 41 deletions.
40 changes: 0 additions & 40 deletions .circleci/config.yml

This file was deleted.

43 changes: 43 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
name: Build and Test

on:
push:
branches:
- '*'

jobs:
build_linux:
name: Build and test on Linux
runs-on: ubuntu-latest
strategy:
matrix:
otp: ['25.3', '26.2', '27.0']
elixir: ['1.15.7', '1.16.3', '1.17.1']
exclude:
- otp: '27.0'
elixir: '1.15.7'
- otp: '27.0'
elixir: '1.16.3'
env:
MIX_ENV: test

steps:
- name: Checkout repository
uses: actions/checkout@v4

- name: Setup beam
uses: erlef/setup-beam@v1
with:
otp-version: ${{matrix.otp}}
elixir-version: ${{matrix.elixir}}
install-hex: true
install-rebar: true

- name: Setup Elixir Project
run: mix deps.get

- name: Check format
run: mix format --check-formatted

- name: Run Tests
run: mix test --warnings-as-errors
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

> A dead simple vtt parser in Elixir.
[![CircleCI](https://circleci.com/gh/grain-team/vttyl.svg?style=svg)](https://circleci.com/gh/grain-team/vttyl) [![Hex version badge](https://img.shields.io/hexpm/v/vttyl.svg)](https://hex.pm/packages/vttyl)
[![Hex version badge](https://img.shields.io/hexpm/v/vttyl.svg)](https://hex.pm/packages/vttyl)

## Installation

Expand Down

0 comments on commit 1fc95de

Please sign in to comment.