Skip to content

Commit

Permalink
Merge pull request #55 from metabrainz/github-action
Browse files Browse the repository at this point in the history
Add GitHub action to test packaging MB Solr with Maven
  • Loading branch information
yvanzo authored Feb 27, 2024
2 parents 2ba6b27 + 2b3a124 commit 7faa0ba
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 25 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/mbsolr-tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: MusicBrainz Solr Tests

on: [push]

jobs:
build:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
with:
submodules: true

- name: Set up Eclipse Temurin 17
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: '17'
cache: 'maven'
cache-dependency-path: |
mmd-schema/brainz-mmd2-jaxb/pom.xml
mb-solr/pom.xml
- name: Install brainz-mmd2-jaxb package with Maven
run: |
find src/main/java -type f -print0 | xargs -0 touch
mvn install
working-directory: mmd-schema/brainz-mmd2-jaxb

- name: Build mb-solr package with Maven
run: mvn package
working-directory: mb-solr
25 changes: 0 additions & 25 deletions .travis.yml

This file was deleted.

0 comments on commit 7faa0ba

Please sign in to comment.