Skip to content

config: github CI

config: github CI #28

Workflow file for this run

name: test
on:
push:

Check failure on line 4 in .github/workflows/test.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/test.yml

Invalid workflow file

You have an error in your yaml syntax on line 4
branches: [main]
pull_request:
workflow_run:
workflows: [deps lint]
types:
- completed
env:
MIX_ENV: test
jobs:
test:
name: Run tests
runs-on: ubuntu-latest
needs:
- deps
- lint
strategy:
matrix:
elixir: [1.15.7]
otp: [26.1.2]
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- uses: actions/setup-beam@v1
with:
elixir-version: ${{ matrix.elixir }}
otp-version: ${{ matrix.otp }}
- run: mix test