Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement GitHub Actions #669

Merged
merged 1 commit into from
Dec 19, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
36 changes: 35 additions & 1 deletion .github/workflows/erlang.yml
Original file line number Diff line number Diff line change
@@ -1 +1,35 @@

---
name: build
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
ci:
name: Run checks and tests over ${{matrix.otp_vsn}} and ${{matrix.os}}
runs-on: ${{matrix.os}}
container:
image: erlang:${{matrix.otp_vsn}}
strategy:
matrix:
otp_vsn: ["19.0", "19.3",
"20.0", "20.1.7", "20.3.8.22",
"21.0.9", "21.1.4", "21.2.7", "21.3.8.1",
"22.0.7", "22.2.8", "22.3.4",
"23.0.2", "23.2"]
os: [ubuntu-latest]
steps:
- uses: actions/checkout@v2
- run: |
apt-get -q update
apt-get -y install python3
apt-get -y install python3-pip
pip3 install httpbin
pip3 install gunicorn
gunicorn -b 127.0.0.1:8000 -b unix:httpbin.sock httpbin:app&
- run: ./support/rebar3 xref
- run: ./support/rebar3 eunit
- run: ./support/rebar3 dialyzer
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ __Version:__ 1.16.0

**hackney** is an HTTP client library for Erlang.

[![Build Status](https://travis-ci.org/benoitc/hackney.png?branch=master)](https://travis-ci.org/benoitc/hackney)
[![Build Status](https://github.com/benoitc/hackney/workflows/build/badge.svg)](https://github.com/benoitc/hackney)
[![Hex pm](http://img.shields.io/hexpm/v/hackney.svg?style=flat)](https://hex.pm/packages/hackney)

## Main features:
Expand Down