Commit b75a0bb mzbakh
committed
1 parent 4ebee9c commit b75a0bb Copy full SHA for b75a0bb
File tree 2 files changed +54
-3
lines changed
2 files changed +54
-3
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change
1
+ name : CI
2
+
3
+ on :
4
+ push :
5
+ branches : [ test-CI ]
6
+ pull_request :
7
+ branches : [ test-CI ]
8
+
9
+ jobs :
10
+ test :
11
+ runs-on : ubuntu-latest
12
+
13
+ steps :
14
+ - name : Checkout code
15
+ uses : actions/checkout@v4
16
+
17
+ - name : Set up Python
18
+ uses : actions/setup-python@v2
19
+ with :
20
+ python-version : ' 3.11' # Specify the Python version you want to use
21
+
22
+ - name : Install Package in Editable Mode with Python Dependencies
23
+ run : |
24
+ python -m pip install --upgrade pip
25
+ pip install -e ".[dev]"
26
+
27
+ - name : Setup R
28
+ uses : r-lib/actions/setup-r@v2
29
+ with :
30
+ r-version : ' 4.3.2' # Use the R version you prefer
31
+
32
+ - name : Install R packages
33
+ uses : r-lib/actions/setup-r-dependencies@v2
34
+ with :
35
+ cache : TRUE
36
+ cache-version : 1
37
+ dependencies : ' NA'
38
+ install-pandoc : FALSE
39
+ packages : |
40
+ grf
41
+ causalweight
42
+ mediation
43
+
44
+ - name : Install plmed package
45
+ run : |
46
+ R -e "pak::pkg_install('ohines/plmed')"
47
+
48
+ - name : Install Pytest
49
+ run : |
50
+ pip install pytest
51
+
52
+ - name : Run tests
53
+ run : |
54
+ pytest
You can’t perform that action at this time.
0 commit comments