Initial commit
This commit is contained in:
32
.github/workflows/test.yml
vendored
Normal file
32
.github/workflows/test.yml
vendored
Normal file
@@ -0,0 +1,32 @@
|
||||
name: Test
|
||||
|
||||
on:
|
||||
push: {branches: master}
|
||||
pull_request: {branches: master}
|
||||
repository_dispatch:
|
||||
|
||||
jobs:
|
||||
test:
|
||||
runs-on: ubuntu-latest
|
||||
name: OTP ${{matrix.pair.otp-version}} / Elixir ${{matrix.pair.elixir-version}}
|
||||
strategy:
|
||||
matrix:
|
||||
pair:
|
||||
# Full Versions
|
||||
- otp-version: 22.0
|
||||
elixir-version: 1.9.1
|
||||
# Semver ranges
|
||||
- otp-version: 21.x
|
||||
elixir-version: <1.9.1
|
||||
steps:
|
||||
- uses: actions/checkout@v1.0.0
|
||||
- name: Use actions/setup-elixir
|
||||
uses: ./
|
||||
with:
|
||||
otp-version: ${{matrix.pair.otp-version}}
|
||||
elixir-version: ${{matrix.pair.elixir-version}}
|
||||
- name: Run Mix project tests
|
||||
run: |-
|
||||
cd test-project
|
||||
mix deps.get
|
||||
mix test
|
||||
Reference in New Issue
Block a user