Skip to content

GitHub Action CI/CD test #3

GitHub Action CI/CD test

GitHub Action CI/CD test #3

Workflow file for this run

name: Run tests
on:
pull_request:
workflow_dispatch:
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Build docker containers and run tests
run: |
docker compose run -e RAILS_ENV=test web bundle exec rspec --exclude-pattern="**/features/*_spec.rb"
- if: always()
name: Commit status
uses: ouzi-dev/[email protected]
with:
name: "Run tests"
status: "${{ job.status }}"