Skip to content

Support iTexmo complex errors #138

Support iTexmo complex errors

Support iTexmo complex errors #138

Workflow file for this run

name: CI
on: [push, pull_request]
jobs:
test:
runs-on: ubuntu-22.04
env:
RAILS_ENV: test
steps:
- uses: actions/checkout@v4
- name: Fix tests environment
run: mv docker-compose.ci-override.yml docker-compose.override.yml
- name: Set environment up
run: |
docker compose pull
docker compose build
docker compose run --rm web bundle install
docker compose run --rm web rake db:setup
docker compose run --rm web rake db:test:prepare
- name: Run specs
run: |
docker compose run --rm web rake test
build:
needs: test
runs-on: ubuntu-22.04
env:
DOCKER_REPOSITORY: 'instedd/nuntium'
DOCKER_USER: ${{ secrets.DOCKER_USER }}
DOCKER_PASS: ${{ secrets.DOCKER_PASS }}
steps:
- uses: actions/checkout@v4
- name: Build image & push to Docker Hub
uses: manastech/ci-docker-builder@d3406587def914918666ef41c0637d6b739fdf7d