Skip to content

Merge pull request #13 from mlibrary/workflows-and-rename-ht-command #79

Merge pull request #13 from mlibrary/workflows-and-rename-ht-command

Merge pull request #13 from mlibrary/workflows-and-rename-ht-command #79

Workflow file for this run

name: Run Tests
on: push
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Create .env file
run: cat env.example env.development > .env
- name: Load .env file
uses: xom9ikk/dotenv@v2
- 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: Run linter for Ruby
run: bundle exec standardrb
- name: Run tests
run: bundle exec rspec