Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CI tests in UTC an Europe/Kiev time zones #1121

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ jobs:
CDR_DB_PORT: 5432

rspec:
name: Rspec tests
name: Rspec tests ${{ matrix.ci_timezone }}
runs-on: ubuntu-latest
container: ghcr.io/yeti-switch/yeti-web/build-image:bullseye
services:
Expand All @@ -163,6 +163,7 @@ jobs:
# set N-1 indexes for parallel jobs
# When you run 2 parallel jobs then first job will have index 0, the second job will have index 1 etc
ci_node_index: [0, 1, 2, 3, 4, 5]
ci_timezone: ["UTC", "Europe/Kiev"]

steps:
- uses: actions/checkout@v2
Expand All @@ -186,6 +187,10 @@ jobs:
YETI_DB_PORT: 5432
CDR_DB_HOST: db
CDR_DB_PORT: 5432
PGTZ: ${{ matrix.ci_timezone }}
TZ: ${{ matrix.ci_timezone }}
YETI_TZ: ${{ matrix.ci_timezone }}
YETI_PG_TZ: ${{ matrix.ci_timezone }}

- name: Coveralls Parallel
uses: coverallsapp/github-action@master
Expand Down