Skip to content
This repository has been archived by the owner on Jun 12, 2024. It is now read-only.

Commit

Permalink
get test working for real this time
Browse files Browse the repository at this point in the history
  • Loading branch information
ashishkeshan committed Nov 22, 2023
1 parent e07642b commit b0abbe9
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 26 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ jobs:
run-tests:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- uses: actions/checkout@v4
- uses: ruby/setup-ruby@v1
- name: Shout Test
id: shout-test
uses: education/autograding-io-grader@main
Expand All @@ -25,10 +25,10 @@ jobs:
max-score: 100
- name: A command test
id: a-command-test
uses: education/autograding-command-grader@change-to-bundled-file
uses: education/autograding-command-grader@main
with:
test-name: A command test
setup-command: ./bin/setup.sh
setup-command: bundle install
command: rspec hello_spec.rb
timeout: 10
max-score: 100
Expand Down
3 changes: 3 additions & 0 deletions Gemfile
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
source 'https://rubygems.org'

ruby '3.2.2'

gem 'rspec', group: :test

15 changes: 15 additions & 0 deletions Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,11 +1,26 @@
GEM
remote: https://rubygems.org/
specs:
diff-lcs (1.5.0)
rspec (3.12.0)
rspec-core (~> 3.12.0)
rspec-expectations (~> 3.12.0)
rspec-mocks (~> 3.12.0)
rspec-core (3.12.0)
rspec-support (~> 3.12.0)
rspec-expectations (3.12.2)
diff-lcs (>= 1.2.0, < 2.0)
rspec-support (~> 3.12.0)
rspec-mocks (3.12.3)
diff-lcs (>= 1.2.0, < 2.0)
rspec-support (~> 3.12.0)
rspec-support (3.12.0)

PLATFORMS
x86_64-darwin-22

DEPENDENCIES
rspec

RUBY VERSION
ruby 3.2.2p53
Expand Down
22 changes: 0 additions & 22 deletions bin/setup.sh

This file was deleted.

0 comments on commit b0abbe9

Please sign in to comment.