Skip to content

Commit

Permalink
Add a config file for Github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
mikesname committed Jan 30, 2024
1 parent 452a0ea commit cc134d6
Showing 1 changed file with 36 additions and 0 deletions.
36 changes: 36 additions & 0 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
# This workflow will build a Java project with Maven
# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-maven

name: Java CI with Maven

on:
push:
branches: [ main ]
pull_request:
branches: [ main ]

jobs:
build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4

# Download data file used for config testing
- uses: keithweaver/[email protected]
with:
command: cp
source: s3://ehri-data/solr_test_data/searchdata.json
destination: ./solr-config/src/test/resources/searchdata.json
aws_access_key_id: ${{ secrets.AWS_S3_ACCESS_KEY }}
aws_secret_access_key: ${{ secrets.AWS_S3_SECRET_ACCESS_KEY }}
aws_region: us-west-1

- uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: '11'

- name: Build with Maven
run: mvn test

0 comments on commit cc134d6

Please sign in to comment.