-
Notifications
You must be signed in to change notification settings - Fork 3
41 lines (39 loc) · 963 Bytes
/
test.yml
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
39
40
41
name: tests
on:
push:
branches:
- "main"
pull_request:
branches:
- "*"
schedule:
# * is a special character in YAML so you have to quote this string
- cron: '0 5 * * *'
jobs:
test:
runs-on: ubuntu-latest
container: ${{ matrix.container }}
name: ${{ matrix.name }}
strategy:
fail-fast: false
matrix:
odoo_version: ["14.0", "15.0", "16.0", "17.0"]
env:
ODOO_VERSION: ${{ matrix.odoo_version }}
steps:
- uses: actions/checkout@v2
with:
persist-credentials: false
- name: Cache Analysis directory
uses: actions/cache@v3
with:
path: analyse
key: analyse-${{ matrix.odoo_version }}
- name: Run Analysis
run: ./run
- name: Deploy 🚀
uses: JamesIves/github-pages-deploy-action@v4
if: github.ref == 'refs/heads/main'
with:
folder: output
clean: false