Skip to content

Commit a2a0636

Browse files
committed
Migrate to GitHub Actions from CodeShip CI
1 parent a8d498f commit a2a0636

File tree

6 files changed

+25
-15
lines changed

6 files changed

+25
-15
lines changed

.github/workflows/elixir.yml

+24
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: Elixir CI
2+
3+
on:
4+
push:
5+
branches: [ master ]
6+
pull_request:
7+
branches: [ master ]
8+
9+
jobs:
10+
build_and_test:
11+
12+
name: Build and test
13+
runs-on: ubuntu-latest
14+
15+
steps:
16+
- uses: actions/checkout@v2
17+
- name: Build the Docker image
18+
run: docker build . --file Dockerfile --tag waffle
19+
20+
- name: Run linters
21+
run: docker run waffle_ecto mix credo --strict
22+
23+
- name: Run tests
24+
run: docker run waffle_ecto mix test

Dockerfile.codeship Dockerfile

File renamed without changes.

README.md

-3
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,8 @@
11
# Waffle
22

3-
[![Codeship Status for elixir-waffle/waffle][codeship-img]][codeship-url]
43
[![Hex.pm Version][hex-img]][hex-url]
54
[![waffle documentation][hexdocs-img]][hexdocs-url]
65

7-
[codeship-img]: https://app.codeship.com/projects/182a04b0-aa53-0137-1d00-2259d5318dee/status?branch=master
8-
[codeship-url]: https://app.codeship.com/projects/361668
96
[hex-img]: http://img.shields.io/hexpm/v/waffle.svg
107
[hex-url]: https://hex.pm/packages/waffle
118
[hexdocs-img]: http://img.shields.io/badge/hexdocs-documentation-brightgreen.svg

codeship-services.yml

-3
This file was deleted.

codeship-steps.yml

-8
This file was deleted.

docker-compose.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ services:
33
waffle:
44
build:
55
context: .
6-
dockerfile: Dockerfile.codeship
6+
dockerfile: Dockerfile
77
command: tail -f /dev/null
88
env_file:
99
- .env

0 commit comments

Comments
 (0)