Updates Flint location groupings #296
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Run Tests | |
on: push | |
jobs: | |
# Run tests | |
test: | |
runs-on: ubuntu-latest | |
env: | |
BUNDLE_GEMFILE: ${{ github.workspace }}/umich_catalog_indexing/Gemfile | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up ruby 3.2 | |
uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: "3.2" | |
bundler-cache: true | |
- name: Create .env file | |
working-directory: ./umich_catalog_indexing | |
run: cat env.* > .env | |
- name: Load .env file | |
uses: xom9ikk/dotenv@v2 | |
with: | |
path: umich_catalog_indexing | |
- name: copy libLocInfo.yaml | |
run: | | |
cp .github/fixtures/libLocInfo.yaml umich_catalog_indexing/lib/translation_maps/umich/libLocInfo.yaml | |
cp .github/fixtures/electronic_collections.yaml umich_catalog_indexing/lib/translation_maps/umich/electronic_collections.yaml | |
- name: Run tests | |
working-directory: ./umich_catalog_indexing | |
run: bundle exec rspec |