File tree Expand file tree Collapse file tree 1 file changed +41
-0
lines changed Expand file tree Collapse file tree 1 file changed +41
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : pandas-flavor tests
2
+
3
+ on : [pull_request]
4
+
5
+ jobs :
6
+ run-tests :
7
+ runs-on : ubuntu-latest
8
+ name : Run pandas-flavor test suite
9
+
10
+ # https://github.com/marketplace/actions/setup-miniconda#use-a-default-shell
11
+ defaults :
12
+ run :
13
+ shell : bash -l {0}
14
+
15
+ steps :
16
+ - name : Checkout repository
17
+ uses : actions/checkout@v2
18
+
19
+ # See: https://github.com/marketplace/actions/setup-miniconda
20
+ - name : Setup miniconda
21
+ uses : conda-incubator/setup-miniconda@v2
22
+ with :
23
+ auto-update-conda : true
24
+ miniforge-variant : Mambaforge
25
+ channels : conda-forge
26
+ activate-environment : pandas-flavor
27
+ environment-file : environment.yml
28
+ use-mamba : true
29
+
30
+ - name : Run unit tests
31
+ run : |
32
+ conda activate pandas-flavor
33
+ python -m pip install -e .
34
+ pytest
35
+
36
+ # # https://github.com/codecov/codecov-action
37
+ # - name: Upload code coverage
38
+ # uses: codecov/codecov-action@v2
39
+ # with:
40
+ # # fail_ci_if_error: true # optional (default = false)
41
+ # verbose: true # optional (default = false)
You can’t perform that action at this time.
0 commit comments