Skip to content

Commit

Permalink
Try running the specs
Browse files Browse the repository at this point in the history
  • Loading branch information
janosrusiczki committed Mar 8, 2024
1 parent 520ea75 commit 4eaa0b8
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,16 @@ name: Docker Image CI

on:
push:
branches: [ "main" ]
branches: ["main"]
pull_request:
branches: [ "main" ]
branches: ["main"]

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Build the Docker image
run: docker build . --file Dockerfile --tag photonia:$(date +%s)
- uses: actions/checkout@v3
- name: Build the Docker image
run: docker build . --file Dockerfile --tag photonia:$(date +%s)
- name: Run rspec tests
run: docker run photonia:$(date +%s) bundle exec rspec --exclude-pattern "spec/system/**/*_spec.rb"

0 comments on commit 4eaa0b8

Please sign in to comment.