-
Notifications
You must be signed in to change notification settings - Fork 2
48 lines (38 loc) · 1.01 KB
/
unit-tests.yaml
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
42
43
44
45
46
47
48
name: "unit-tests"
on:
pull_request:
push:
schedule:
# Run daily at 00:15 UTC (the 15 is to avoid periods of high load)
- cron: "15 0 * * *"
workflow_dispatch:
permissions: {}
concurrency:
group: "${{github.workflow}}-${{github.ref}}"
# Cancel in-progress jobs for efficiency
cancel-in-progress: true
jobs:
non-storage-unit-tests:
strategy:
matrix:
os: ["ubuntu-22.04", "ubuntu-24.04"]
runs-on: "${{matrix.os}}"
steps:
- uses: "actions/checkout@v4"
with:
submodules: "recursive"
- uses: "actions/setup-python@v5"
with:
python-version: "3.10"
- name: "Install task"
run: "npm install -g @go-task/cli"
- name: "Log tool versions"
run: |-
md5sum --version
python --version
tar --version
task --version
- name: "Install project dependencies "
timeout-minutes: 10
run: "task deps:lib_install"
- run: "task test:non-storage-unit-tests"