-
Notifications
You must be signed in to change notification settings - Fork 0
43 lines (34 loc) · 901 Bytes
/
run_tests.yaml
File metadata and controls
43 lines (34 loc) · 901 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
39
40
41
42
43
name: Run Tests
on:
push:
branches:
- master
pull_request:
workflow_dispatch:
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Cache folders
uses: actions/cache@v4
with:
path: |
build
build-debug
key: ${{ runner.os }}-qdrvm-build-${{ hashFiles('**/CMakeLists.txt') }}
restore-keys: |
${{ runner.os }}-qdrvm-build-
- name: Build test
working-directory: .ci
run: bash build_test.sh
- name: Check generated files
working-directory: .ci
run: python3 check_files.py
- name: Run cargo tests
working-directory: .ci
run: bash cargo_tests.sh
# - name: Run tests
# working-directory: .ci
# run: bash run_all_tests.sh