Skip to content

handles remediated to deprecated for search purposes #191

handles remediated to deprecated for search purposes

handles remediated to deprecated for search purposes #191

Workflow file for this run

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
env:
BUNDLE_RUBYGEMS__PKG__GITHUB__COM: ${{secrets.GH_PACKAGE_READ_TOKEN}}
- name: Create .env file
working-directory: ./umich_catalog_indexing
run: cat .env-dev-values .env-example > .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