Commit c7ae216c authored by Pavel Vainerman's avatar Pavel Vainerman Committed by Pavel Vainerman

(actions): added tests

parent 29d4d310
...@@ -2,7 +2,7 @@ name: C/C++ CI ...@@ -2,7 +2,7 @@ name: C/C++ CI
on: on:
push: push:
branches: [ github-actions ] branches: [ master, github-actions ]
pull_request: pull_request:
branches: [ master ] branches: [ master ]
...@@ -26,3 +26,7 @@ jobs: ...@@ -26,3 +26,7 @@ jobs:
./configure --enable-mysql --enable-sqlite --enable-rrd --enable-io --disable-python --disable-mqtt --disable-pgsql --disable-api --disable-netdata --disable-logdb ./configure --enable-mysql --enable-sqlite --enable-rrd --enable-io --disable-python --disable-mqtt --disable-pgsql --disable-api --disable-netdata --disable-logdb
- name: make - name: make
run: make run: make
- name: simple tests
run: |
cd tests;
make check
...@@ -14,7 +14,7 @@ name: "CodeQL" ...@@ -14,7 +14,7 @@ name: "CodeQL"
on: on:
push: push:
branches: [ github-actions ] branches: [ master, github-actions ]
pull_request: pull_request:
# The branches below must be a subset of the branches above # The branches below must be a subset of the branches above
branches: [ master ] branches: [ master ]
...@@ -29,7 +29,7 @@ jobs: ...@@ -29,7 +29,7 @@ jobs:
strategy: strategy:
fail-fast: false fail-fast: false
matrix: matrix:
language: [ 'cpp', 'python' ] language: [ 'cpp' ]
# CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python' ] # CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python' ]
# Learn more: # Learn more:
# https://docs.github.com/github/finding-security-vulnerabilities-and-errors-in-your-code/configuring-code-scanning#changing-the-languages-that-are-analyzed # https://docs.github.com/github/finding-security-vulnerabilities-and-errors-in-your-code/configuring-code-scanning#changing-the-languages-that-are-analyzed
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment