diff options
author | Simponic <loganhunt@simponic.xyz> | 2022-12-19 20:56:59 -0700 |
---|---|---|
committer | Simponic <loganhunt@simponic.xyz> | 2022-12-19 20:56:59 -0700 |
commit | 466295f26fd7fc2d6b1c802e5a39f408d46a1df6 (patch) | |
tree | 42cdbf956c348f1bb04f5a7e26258fbe3e476af2 /.github/workflows/elixir.yml | |
parent | 110eb0b1990d5d5ee77f9368a9b7653cfdc07131 (diff) | |
download | chessh-466295f26fd7fc2d6b1c802e5a39f408d46a1df6.tar.gz chessh-466295f26fd7fc2d6b1c802e5a39f408d46a1df6.zip |
Add migrations, test keys, github workflows
Diffstat (limited to '.github/workflows/elixir.yml')
-rw-r--r-- | .github/workflows/elixir.yml | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/.github/workflows/elixir.yml b/.github/workflows/elixir.yml new file mode 100644 index 0000000..06dc50f --- /dev/null +++ b/.github/workflows/elixir.yml @@ -0,0 +1,27 @@ +on: push + +jobs: + test: + runs-on: ubuntu-latest + + services: + db: + image: postgres:11 + ports: ['5432:5432'] + env: + POSTGRES_PASSWORD: postgres + options: >- + --health-cmd pg_isready + --health-interval 10s + --health-timeout 5s + --health-retries 5 + + steps: + - uses: actions/checkout@v2 + - uses: actions/setup-elixir@v1 + with: + otp-version: '25' + elixir-version: '1.14.0' + - run: mix deps.get + - run: mix deps.compile + - run: mix test
\ No newline at end of file |