Skip to content

added tests for config-parsing & rule-matching #22

added tests for config-parsing & rule-matching

added tests for config-parsing & rule-matching #22

Workflow file for this run

---
name: Lint
on:
push:
branches: [latest, v*]
pull_request:
branches: [latest, v*]
jobs:
build:
strategy:
matrix:
python-version: [3.10]
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
- uses: actions/checkout@v3
- name: Install python
uses: actions/setup-python@v4
with:
python-version: '3.10'
- name: Install dependencies
run: pip install -r requirements_test.txt
shell: bash
- name: Running Yamllint
run: yamllint .
shell: bash
- uses: actions/setup-go@v4
with:
go-version: '1.21'
- name: Running tests
run: |
cd lib/
go test -v ./...
shell: bash
- name: Build binary
run: |
cd lib/main/
go build
shell: bash
- name: golangci-lint
uses: golangci/golangci-lint-action@v3
with:
args: '--config=../.golangci.yml'
working-directory: 'lib'