Skip to content

Commit

Permalink
Run tests for gems in different steps
Browse files Browse the repository at this point in the history
  • Loading branch information
epergo authored and jkowens committed Apr 14, 2022
1 parent 3dd160b commit 0af1e1e
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 21 deletions.
19 changes: 0 additions & 19 deletions .actions.sh

This file was deleted.

14 changes: 12 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,18 @@ jobs:
bundler-cache: true
- name: Install dependencies
run: sudo apt-get install -y pandoc nodejs pkg-config libxml2-dev libxslt-dev
- name: Run tests
run: ./.actions.sh
- name: Run sinatra tests
run: bundle exec rake
- name: Run sinatra-contrib tests
run: |
cd $GITHUB_WORKSPACE/sinatra-contrib
bundle install --jobs=3 --retry=3
bundle exec rake
- name: Run rack-protection tests
run: |
cd $GITHUB_WORKSPACE/rack-protection
bundle install --jobs=3 --retry=3
bundle exec rake
- uses: 8398a7/action-slack@v3
with:
status: ${{ job.status }}
Expand Down

0 comments on commit 0af1e1e

Please sign in to comment.