Skip to content
Merged
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
22 changes: 11 additions & 11 deletions .github/workflows/nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
strategy:
fail-fast: false # finish all jobs even if one fails
max-parallel: 2
matrix:
matrix:
os: ['ubuntu-latest', 'macos-latest', 'windows-latest']
python-version: ['3.7', '3.8', '3.9', '3.10']
steps:
Expand All @@ -38,7 +38,7 @@ jobs:
python -m pip install --upgrade pip
python -m pip install ".[dev]"

- name: Test with pytest
- name: Unit test with pytest
run: |
pytest tests/unit

Expand Down Expand Up @@ -67,14 +67,14 @@ jobs:
API_ENDPOINT: "api.staging.firebolt.io"
run: |
pytest --timeout_method "thread" -o log_cli=true -o log_cli_level=INFO tests/integration

- name: Slack Notify of failure
if: failure()
uses: rtCamp/action-slack-notify@v2.2.0
env:
SLACK_USERNAME: CI bot
SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }}
SLACK_COLOR: "#FF0000"
SLACK_ICON: None
SLACK_TITLE: Nightly tests failed
SLACK_MESSAGE: Please investigate
id: slack
uses: firebolt-db/action-slack-nightly-notify@v1
with:
os: ${{ matrix.os }}
programming-language: Python
language-version: ${{ matrix.python-version }}
notifications-channel: 'ecosystem-ci-notifications'
slack-api-key: ${{ secrets.SLACK_BOT_TOKEN }}