Skip to content

Commit

Permalink
Add xref and dialyzer to GH action Test. (#24)
Browse files Browse the repository at this point in the history
Add xref and dialyzer to GH action Test.
Rename GH Action CI to Hex Publish
Add GH Action batch to readme.
Remove travis config.

* Fix xref test step.
  • Loading branch information
mworrell authored Dec 28, 2020
1 parent 92fb242 commit 1bf84df
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 24 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: CI
name: Hex Publish

on:
push:
Expand Down
12 changes: 8 additions & 4 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,18 +15,22 @@ jobs:
linux:
name: Test on OTP ${{ matrix.otp_version }}
runs-on: ${{ matrix.os }}

strategy:
matrix:
otp_version: [21,22,23]
os: [ubuntu-latest]

container:
image: erlang:${{ matrix.otp_version }}

steps:
- uses: actions/checkout@v2
- name: Compile
run: make
- name: Test
run: make test
run: make test
- name: XRef
run: make xref
- name: Dialyzer
run: make dialyzer
18 changes: 0 additions & 18 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,4 +1,4 @@
[![Build Status](https://travis-ci.org/zotonic/cowmachine.svg?branch=master)](https://travis-ci.org/zotonic/cowmachine)
![Test](https://github.com/zotonic/cowmachine/workflows/Test/badge.svg)

# Cowmachine

Expand Down

0 comments on commit 1bf84df

Please sign in to comment.