Skip to content

Commit

Permalink
Switch to actions
Browse files Browse the repository at this point in the history
  • Loading branch information
andreasknoepfle committed Mar 22, 2024
1 parent 9a6c606 commit 49f5bd5
Show file tree
Hide file tree
Showing 2 changed files with 38 additions and 37 deletions.
37 changes: 0 additions & 37 deletions .circleci/config.yml

This file was deleted.

38 changes: 38 additions & 0 deletions .github/workflows/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
on: push

jobs:
test:
runs-on: ubuntu-latest
name: OTP ${{matrix.otp}} / Elixir ${{matrix.elixir}}
strategy:
matrix:
otp: ['22.2', '26.1']
elixir: ['1.12.2', '1.15.7']
steps:
- uses: actions/checkout@v2
- uses: actions/setup-elixir@v1
with:
otp-version: ${{matrix.otp}}
elixir-version: ${{matrix.elixir}}
- run: mix deps.get
- run: mix format --check-formatted
- run: mix test
- run: mix credo --strict
- run: mix docs
demo:
runs-on: ubuntu-latest
name: Demo
steps:
- uses: actions/checkout@v2
- uses: actions/setup-elixir@v1
with:
otp-version: '26.1'
elixir-version: '1.15.7'
- uses: actions/setup-node@v4
with:
node-version: 18
- uses: nanasess/setup-chromedriver@v2
- run: cd demo && mix deps.get
- run: cd demo && mix format --check-formatted
- run: cd demo/assets && npm install
- run: cd demo && mix test

0 comments on commit 49f5bd5

Please sign in to comment.