Sha256: 155e4c4dd7ac9a8e4d2e101da25dfd878177ca7149e5bb6fe8e941880a6fed8a

Contents?: true

Size: 1.13 KB

Versions: 4

Compression:

Stored size: 1.13 KB

Contents

name: Main

on: [pull_request]

jobs:
  vm-job:
    runs-on: ubuntu-latest
    strategy:
      max-parallel: 4

    steps:
    - uses: actions/checkout@v1

    - name: Set up Python 3.7
      uses: actions/setup-python@v1
      with:
        python_version: 3.7

    - name: Set up Ruby 2.6
      uses: actions/setup-ruby@v1
      with:
        ruby_version: 2.6.3

    - name: Set up pip
      run: python -m pip install --upgrade pip

    - name: Set up LocalStack
      run: |
        docker-compose -f docker-compose.localstack.yml up -d
        curl "https://d1vvhvl2y92vvt.cloudfront.net/awscli-exe-linux-x86_64.zip" -o "awscliv2.zip"
        unzip -q awscliv2.zip
        sudo ./aws/install
        cp -avr .aws/ ~/
        while ! curl -s http://localhost:4575 > /dev/null; do echo waiting for localstack; sleep 3; done;
        aws --endpoint-url=http://localhost:4575 sns create-topic --name liam_TestProducer

    - name: Build
      env:
        RAILS_ENV: test
      run: |
        gem install bundler -v 1.16
        bundle _1.16_ install --jobs 4 --retry 3

    - name: Run tests
      run: |
        RAILS_ENV=test bundle exec rspec -fd

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
aws-liam-0.0.5 .github/workflows/main.yaml
aws-liam-0.0.4 .github/workflows/main.yaml
aws-liam-0.0.3 .github/workflows/main.yaml
aws-liam-0.0.2 .github/workflows/main.yaml