1
0
Fork 0
mirror of https://github.com/sinatra/sinatra synced 2023-03-27 23:18:01 -04:00

CI: Use working-directory directive

This commit is contained in:
Olle Jonsson 2022-02-18 07:46:58 +01:00 committed by GitHub
parent adab0bc7ba
commit 7b88bc6624
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -27,13 +27,13 @@ jobs:
- name: Run sinatra tests - name: Run sinatra tests
run: bundle exec rake run: bundle exec rake
- name: Run sinatra-contrib tests - name: Run sinatra-contrib tests
working-directory: sinatra-contrib
run: | run: |
cd $GITHUB_WORKSPACE/sinatra-contrib
bundle install --jobs=3 --retry=3 bundle install --jobs=3 --retry=3
bundle exec rake bundle exec rake
- name: Run rack-protection tests - name: Run rack-protection tests
working-directory: rack-protection
run: | run: |
cd $GITHUB_WORKSPACE/rack-protection
bundle install --jobs=3 --retry=3 bundle install --jobs=3 --retry=3
bundle exec rake bundle exec rake
- uses: 8398a7/action-slack@v3 - uses: 8398a7/action-slack@v3