github.com/crowdsecurity/crowdsec@v1.6.1/.github/workflows/bats.yml (about) 1 --- 2 # This workflow is actually running 3 # only functional tests, but the 4 # name is used for the badge in README.md 5 6 name: Tests 7 8 # Main workflow for functional tests, it calls all the others through parallel jobs. 9 # 10 # https://docs.github.com/en/actions/using-workflows/reusing-workflows 11 # 12 # There is no need to merge coverage output because codecov.io should take care of that. 13 14 on: 15 push: 16 branches: 17 - master 18 - releases/** 19 paths-ignore: 20 - "README.md" 21 pull_request: 22 branches: 23 - master 24 - releases/** 25 paths-ignore: 26 - "README.md" 27 28 jobs: 29 sqlite: 30 uses: ./.github/workflows/bats-sqlite-coverage.yml 31 32 # Jobs for Postgres (and sometimes MySQL) can have failing tests on GitHub 33 # CI, but they pass when run on devs' machines or in the release checks. We 34 # disable them here by default. Remove if...false to enable them. 35 36 mariadb: 37 uses: ./.github/workflows/bats-mysql.yml 38 with: 39 database_image: mariadb:latest 40 41 mysql: 42 uses: ./.github/workflows/bats-mysql.yml 43 with: 44 database_image: mysql:latest 45 46 postgres: 47 uses: ./.github/workflows/bats-postgres.yml 48 49 hub: 50 uses: ./.github/workflows/bats-hub.yml 51 secrets: 52 GIST_BADGES_ID: ${{ secrets.GIST_BADGES_ID }} 53 GIST_BADGES_SECRET: ${{ secrets.GIST_BADGES_SECRET }}