Skip to content

Commit

Permalink
using github action service
Browse files Browse the repository at this point in the history
  • Loading branch information
dczulada committed Mar 7, 2024
1 parent eb45478 commit b7a35fd
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/ruby.yml
Original file line number Diff line number Diff line change
Expand Up @@ -161,6 +161,12 @@ jobs:

runs-on: ubuntu-latest

services:
mongodb:
image: mongo:7.0.6
ports:
- 27017:27017

steps:
- uses: actions/checkout@v2
- name: Set up Ruby
Expand All @@ -179,11 +185,6 @@ jobs:
git clone -b cypress_v7 https://github.com/projecttacoma/cqm-execution-service.git /tmp/cqm-execution-service-56
yarn --cwd /tmp/cqm-execution-service-56 install --only=production
yarn --cwd /tmp/cqm-execution-service-56 start &
wget https://fastdl.mongodb.org/linux/mongodb-linux-x86_64-debian11-7.0.6.tgz -O /tmp/mongodb.tgz
tar -xvf /tmp/mongodb.tgz
mkdir /tmp/data
${PWD}/mongodb-linux-x86_64-debian11-7.0.6/bin/mongod --setParameter cursorTimeoutMillis=3600000 --setParameter maxBSONDepth=500 --dbpath /tmp/data --bind_ip 127.0.0.1 &> /dev/null &
cp ./.travis/mongoid.yml ./config/mongoid.yml
- name: Run Rake test
run: |
RUBYOPT="-W0"
Expand Down

0 comments on commit b7a35fd

Please sign in to comment.