Skip to content

Commit

Permalink
fix workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
hohonuuli committed Feb 14, 2024
1 parent b450158 commit a975e46
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/scala.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,6 @@ jobs:
distribution: 'temurin'
cache: 'sbt'
- name: Run tests
run: sbt vampire-squid/test
run: sbt test
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,9 @@ trait MediaControllerITSuite extends BaseDAOSuite:
assertEquals(m0.video_sequence_name, m1.video_sequence_name)
assertEquals(m0.video_name, m1.video_name)
assertEquals(m0.camera_id, m1.camera_id)
assertEquals(m0.start_timestamp, m1.start_timestamp)
// On a Github computer, comparing timestamps can fail as github actions
// is returing presision out to value = 2024-02-14T17:37:16.568733220Z
assertEquals(m0.start_timestamp.map(_.toEpochMilli()), m1.start_timestamp.map(_.toEpochMilli()))
assertEquals(m0.duration, m1.duration)
assertEquals(m0.uri, m1.uri)
assertEquals(m0.container, m1.container)
Expand Down

0 comments on commit a975e46

Please sign in to comment.