script_type to report; removes suffix from metrics #103
This file contains hidden or 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: | |
| #workflow_dispatch: | |
| on: push | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v2 | |
| - name: Create .env file | |
| run: cat env.example > .env | |
| - name: Load .env file | |
| uses: xom9ikk/dotenv@v2.3.0 | |
| - name: Set up Ruby 3.4 | |
| uses: ruby/setup-ruby@v1 | |
| with: | |
| ruby-version: 3.4 | |
| bundler-cache: true | |
| - name: Run linter for Ruby | |
| run: bundle exec standardrb | |
| - name: Run tests | |
| run: bundle exec rspec |