Skip to content

Commit

Permalink
Add github action for FieldPublication
Browse files Browse the repository at this point in the history
  • Loading branch information
dersmon committed Jun 17, 2024
1 parent c5b6d20 commit 319f55d
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/publication.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: Publication
on:
push:
paths:
- "publication/**"
- ".github/workflows/publication.yml"
pull_request:
paths:
- "publication/**"
- ".github/workflows/publication.yml"
jobs:
Tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: erlef/setup-beam@v1
with:
otp-version: 26.0
elixir-version: 1.16.0
- name: Start CouchDB, Cantaloupe and OpenSearch
run: docker-compose -f docker-compose.yml up -d
working-directory: publication
- name: Sleep to await CouchDB startup
run: sleep 15s
- name: Install Field Publcation dependencies and run setup
run: mix setup
working-directory: publication
- name: Run Field Publication tests
run: mix test
working-directory: publication

0 comments on commit 319f55d

Please sign in to comment.