Skip to content

Commit

Permalink
Move CI to GitHub Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
lexmag committed Dec 3, 2023
1 parent 00c9d69 commit 7ecf54f
Show file tree
Hide file tree
Showing 2 changed files with 43 additions and 28 deletions.
43 changes: 43 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
name: CI

on:
push:
# branches:
# - master
pull_request:

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

strategy:
matrix:
otp: ["25"]
elixir: ["1.15"]
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.

0 comments on commit 7ecf54f

Please sign in to comment.