DIN 33904: Removing empty substitution #121
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: test | |
| on: | |
| push: | |
| branches: [ main, v* ] | |
| pull_request: | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v2 | |
| with: | |
| repository: interscript/interscript | |
| - name: Run bootstrap script | |
| run: ruby bootstrap.rb | |
| - name: Set up Ruby | |
| uses: ruby/setup-ruby@v1 | |
| with: | |
| ruby-version: 2.7 | |
| - name: Cache Ruby gems | |
| uses: actions/cache@v2 | |
| env: | |
| cache-name: cache-ruby-modules | |
| with: | |
| path: vendor/bundle | |
| key: ${{ runner.os }}-ruby-2.7-gems-${{ hashFiles('**/interscript.gemspec') }} | |
| restore-keys: | | |
| ${{ runner.os }}-ruby-2.7-gems- | |
| - name: Configure bundle to use vendor mode | |
| run: bundle config path vendor/bundle | |
| - name: Install bundle and Python dependencies | |
| working-directory: ./ruby | |
| run: | | |
| pip install regex | |
| bundle install --jobs 4 --retry 3 --with jsexec --without secryst | |
| - name: Execute tests | |
| working-directory: ./ruby | |
| run: | | |
| bundle exec rspec spec/interscript_spec.rb spec/map_name_and_metadata_spec.rb | |