Skip to content

changed to rolling avg #221

changed to rolling avg

changed to rolling avg #221

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
- 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