Skip to content

Update app sec pipeline for gitlab #4

Update app sec pipeline for gitlab

Update app sec pipeline for gitlab #4

Workflow file for this run

name: Ruby Test
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
build:
name: Execute Tests
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
steps:
- uses: actions/checkout@v2
- name: Set up Ruby 2.6
uses: ruby/setup-ruby@v1
with:
ruby-version: 2.6.x
- name: Build & test
run: |
gem install bundler:2.3.6
bundle config set --local path 'vendor/bundle'
bundle install
API_USERNAME='${{ secrets.API_USERNAME }}' API_PASSWORD='${{ secrets.API_PASSWORD }}' bundle exec rspec