-
Notifications
You must be signed in to change notification settings - Fork 54
38 lines (38 loc) · 881 Bytes
/
ci.yaml
File metadata and controls
38 lines (38 loc) · 881 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
name: CI
on:
pull_request:
push:
branches-ignore:
- dependabot/*
- renovate/*
schedule:
- cron: 0 0 * * *
workflow_dispatch:
concurrency:
group: "${{ github.workflow }}-${{ github.ref }}"
cancel-in-progress: true
permissions:
contents: read
jobs:
ci:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
- name: Set up system
run: bin/before_install
- name: Set up Node
uses: actions/setup-node@v6
with:
node-version-file: package.json
cache: yarn
registry-url: https://npm.manageiq.org/
- name: Prepare tests
run: bin/setup
- name: Run tests
run: bin/ci
- name: Run security tests
run: yarn test:security
- name: Report code coverage
if: "${{ github.ref == 'refs/heads/master' }}"
continue-on-error: true
run: scripts/.coverage.sh