SM-1339: Create new service in DIMO Node responsible for CH and S3 insert #3
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Tests | |
on: | |
pull_request: | |
branches: ["**"] | |
push: | |
branches: | |
- main | |
jobs: | |
install-tools: | |
if: "!contains(github.event.head_commit.message, 'Merge pull request')" | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install all tools | |
run: make tools | |
- uses: actions/upload-artifact@v4 | |
with: | |
name: tools | |
path: bin/ | |
prometheus-rules: | |
needs: install-tools | |
if: "!contains(github.event.head_commit.message, 'Merge pull request')" | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/download-artifact@v4 | |
with: | |
name: tools | |
path: bin/ | |
- name: Set executable | |
run: chmod +x bin/* | |
- name: Run Prometheus rules tests | |
run: make test |