Skip to content

Commit

Permalink
move CI to github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
tsloughter committed Jul 1, 2020
1 parent fcb05dc commit 2710f0d
Show file tree
Hide file tree
Showing 3 changed files with 37 additions and 79 deletions.
78 changes: 0 additions & 78 deletions .circleci/config.yml

This file was deleted.

36 changes: 36 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
name: Common Test

on:
pull_request:
branches:
- 'master'
push:
branches:
- 'master'

jobs:
build:
name: Test on OTP ${{ matrix.otp_version }} and ${{ matrix.os }}
runs-on: ${{ matrix.os }}

strategy:
matrix:
otp_version: ['23.0.2', '22.3.4.2', '21.3.8.16']
os: [ubuntu-latest]

steps:
- uses: actions/checkout@v2
- uses: gleam-lang/setup-erlang@v1.0.0
with:
otp-version: ${{ matrix.otp_version }}

- name: Compile
run: rebar3 compile
- name: EUnit tests
run: rebar3 eunit
- name: Dialyzer
run: rebar3 dialyzer
- name: XRef
run: rebar3 xref
- name: Coveralls
run: rebar3 coveralls send
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ OpenTelemetry

[![EEF Observability WG project](https://img.shields.io/badge/EEF-Observability-black)](https://github.com/erlef/eef-observability-wg)
[![Hex.pm](https://img.shields.io/hexpm/v/opentelemetry)](https://hex.pm/packages/opentelemetry)
![CircleCI](https://img.shields.io/circleci/build/github/open-telemetry/opentelemetry-erlang)
![Build Status](https://github.com/open-telemetry/opentelemetry-erlang/workflows/Common%20Test/badge.svg)

OpenTelemetry stats collection and distributed tracing framework for Erlang.

Expand Down

0 comments on commit 2710f0d

Please sign in to comment.