Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,5 +34,5 @@ jobs:
command: CI_REPORTS=spec/reports RAILS_ENV=test COVERAGE=true bundle exec rake ci:setup:rspec spec
- run:
name: Send reports to testspace
command: testspace @.testspace.txt
command: testspace @.testspace.txt --link=coveralls
when: always
12 changes: 6 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,18 +6,16 @@ on:

jobs:
build:
runs-on: ubuntu-18.04
runs-on: ubuntu-latest
steps:
- uses: ruby/setup-ruby@v1
with:
ruby-version: '2.3'
- uses: actions/checkout@v2
with:
fetch-depth: 50
- uses: actions/checkout@v3
- uses: testspace-com/setup-testspace@v1
with:
domain: samples
- uses: actions/cache@v2
- uses: actions/cache@v3
with:
path: vendor/bundle
key: ${{ runner.os }}-gems-${{ hashFiles('Gemfile.lock') }}
Expand All @@ -33,9 +31,11 @@ jobs:
bundle exec brakeman -o tmp/brakeman.json
bundle exec brakeman_translate_checkstyle_format translate --file="tmp/brakeman.json" > tmp/brakeman_checkstyle.xml
- name: Test
env:
COVERALLS_REPO_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
CI_REPORTS=spec/reports RAILS_ENV=test COVERAGE=true xvfb-run --server-args="-screen 0 1024x768x24" bundle exec rake ci:setup:rspec spec
- name: Push
run: |
testspace @.testspace.txt
testspace @.testspace.txt --link=coveralls
if: always()
2 changes: 1 addition & 1 deletion Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ GEM
public_suffix (>= 2.0.2, < 4.0)
arel (5.0.1.20140414130214)
ast (2.3.0)
bcrypt (3.1.11)
bcrypt (3.1.18)
bootstrap-sass (3.1.1.1)
sass (~> 3.2)
brakeman (3.7.2)
Expand Down