-
Notifications
You must be signed in to change notification settings - Fork 3
58 lines (46 loc) · 1.34 KB
/
test.yml
File metadata and controls
58 lines (46 loc) · 1.34 KB
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
49
50
51
52
53
54
55
56
57
58
name: Tests
on:
push:
branches:
- dev
pull_request:
branches:
- dev
jobs:
test:
name: Test C++
runs-on: ubuntu-latest
steps:
- name: LGTM
run: echo "LGTM" #TODO, uncomment
# ---------------- For when we support for Python, Swift, Julia, and have a workable testing suite for the C++ API
# ABSTRAIN from Google Test ==> I have a love-hate (99.9% towards the latter) relationship with the tool ----------------
# jobs:
# tests:
# runs-on: ${{ matrix.os }}
# strategy:
# fail-fast: false
# matrix:
# os: [ubuntu-latest, macos-latest, windows-latest]
# python-version: [3.6, 3.7, 3.8]
# steps:
# - uses: actions/checkout@v2
# - name: Setup conda dependencies
# uses: conda-incubator/setup-miniconda@v2
# with:
# auto-update-conda: true
# python-version: ${{ matrix.python-version }}
# - name: Install dependencies
# shell: bash -l {0}
# run: |
# conda install curl make -c conda-forge
# pip install -r requirements/test.txt
# make install
# - name: Run Tests
# shell: bash -l {0}
# # run: pytest -v --cov=caer --cov-report xml ./test
# run: pytest -v ./tests
# - name: Upload coverage
# uses: codecov/codecov-action@v1
# with:
# file: ./coverage.xml