|
1 |
| -# This Action ensures that code coverage is always uploaded to codecov |
2 |
| -# whenever a new commit is made to the dev branch. |
3 |
| -name: Upload test coverage to codecov |
| 1 | +# # This Action ensures that code coverage is always uploaded to codecov |
| 2 | +# # whenever a new commit is made to the dev branch. |
| 3 | +# name: Upload test coverage to codecov |
4 | 4 |
|
5 |
| -on: |
6 |
| - push: |
7 |
| - branch: |
8 |
| - dev |
| 5 | +# on: |
| 6 | +# push: |
| 7 | +# branch: |
| 8 | +# dev |
9 | 9 |
|
10 |
| -jobs: |
11 |
| - build-environment: |
12 |
| - name: Build environment |
13 |
| - runs-on: ubuntu-latest |
| 10 | +# jobs: |
| 11 | +# build-environment: |
| 12 | +# name: Build environment |
| 13 | +# runs-on: ubuntu-latest |
14 | 14 |
|
15 |
| - steps: |
16 |
| - - name: Checkout repository |
17 |
| - uses: actions/checkout@v2 |
| 15 | +# steps: |
| 16 | +# - name: Checkout repository |
| 17 | +# uses: actions/checkout@v2 |
18 | 18 |
|
19 |
| - # See: https://github.com/marketplace/actions/setup-conda |
20 |
| - - name: Setup anaconda |
21 |
| - uses: s-weigand/setup-conda@v1 |
22 |
| - with: |
23 |
| - conda-channels: "conda-forge" |
| 19 | +# # See: https://github.com/marketplace/actions/setup-conda |
| 20 | +# - name: Setup anaconda |
| 21 | +# uses: s-weigand/setup-conda@v1 |
| 22 | +# with: |
| 23 | +# conda-channels: "conda-forge" |
24 | 24 |
|
25 |
| - # Build cache of environment |
26 |
| - - name: Cache conda environment |
27 |
| - id: cache-environment |
28 |
| - uses: actions/cache@v2 |
29 |
| - # Conda environment build step depends on two files, |
30 |
| - # so we ensure that the hash key contains both their hashes. |
31 |
| - with: |
32 |
| - path: | |
33 |
| - pyjanitor-dev.tar.gz |
34 |
| - key: ${{ runner.os }}-env.${{ hashFiles('environment-dev.yml') }} |
| 25 | +# # Build cache of environment |
| 26 | +# - name: Cache conda environment |
| 27 | +# id: cache-environment |
| 28 | +# uses: actions/cache@v2 |
| 29 | +# # Conda environment build step depends on two files, |
| 30 | +# # so we ensure that the hash key contains both their hashes. |
| 31 | +# with: |
| 32 | +# path: | |
| 33 | +# pyjanitor-dev.tar.gz |
| 34 | +# key: ${{ runner.os }}-env.${{ hashFiles('environment-dev.yml') }} |
35 | 35 |
|
36 |
| - - name: Build environment |
37 |
| - if: steps.cache-environment.outputs.cache-hit != 'true' |
38 |
| - run: bash ./scripts/ci/build_environment.sh |
| 36 | +# - name: Build environment |
| 37 | +# if: steps.cache-environment.outputs.cache-hit != 'true' |
| 38 | +# run: bash ./scripts/ci/build_environment.sh |
39 | 39 |
|
40 |
| - - name: Install conda-pack |
41 |
| - if: steps.cache-environment.outputs.cache-hit != 'true' |
42 |
| - run: conda install -c conda-forge conda-pack |
| 40 | +# - name: Install conda-pack |
| 41 | +# if: steps.cache-environment.outputs.cache-hit != 'true' |
| 42 | +# run: conda install -c conda-forge conda-pack |
43 | 43 |
|
44 |
| - - name: Run conda-pack |
45 |
| - if: steps.cache-environment.outputs.cache-hit != 'true' |
46 |
| - run: conda pack -n pyjanitor-dev -o pyjanitor-dev.tar.gz |
| 44 | +# - name: Run conda-pack |
| 45 | +# if: steps.cache-environment.outputs.cache-hit != 'true' |
| 46 | +# run: conda pack -n pyjanitor-dev -o pyjanitor-dev.tar.gz |
47 | 47 |
|
48 |
| - # See: https://github.com/actions/upload-artifact |
49 |
| - - name: Upload environment |
50 |
| - uses: actions/upload-artifact@v2 |
51 |
| - with: |
52 |
| - name: pyjanitor-dev-tarball |
53 |
| - path: pyjanitor-dev.tar.gz |
| 48 | +# # See: https://github.com/actions/upload-artifact |
| 49 | +# - name: Upload environment |
| 50 | +# uses: actions/upload-artifact@v2 |
| 51 | +# with: |
| 52 | +# name: pyjanitor-dev-tarball |
| 53 | +# path: pyjanitor-dev.tar.gz |
54 | 54 |
|
55 |
| - unit-tests: |
56 |
| - name: Run unit tests |
57 |
| - runs-on: ubuntu-latest |
58 |
| - needs: build-environment |
| 55 | +# unit-tests: |
| 56 | +# name: Run unit tests |
| 57 | +# runs-on: ubuntu-latest |
| 58 | +# needs: build-environment |
59 | 59 |
|
60 |
| - steps: |
61 |
| - - name: Checkout repository |
62 |
| - uses: actions/checkout@v2 |
| 60 | +# steps: |
| 61 | +# - name: Checkout repository |
| 62 | +# uses: actions/checkout@v2 |
63 | 63 |
|
64 |
| - # https://github.com/actions/download-artifact |
65 |
| - - name: Download environment tarball |
66 |
| - uses: actions/download-artifact@v2 |
67 |
| - with: |
68 |
| - name: pyjanitor-dev-tarball |
| 64 | +# # https://github.com/actions/download-artifact |
| 65 | +# - name: Download environment tarball |
| 66 | +# uses: actions/download-artifact@v2 |
| 67 | +# with: |
| 68 | +# name: pyjanitor-dev-tarball |
69 | 69 |
|
70 |
| - - name: Unpack environment and activate it |
71 |
| - run: bash scripts/ci/unpack_environment.sh |
| 70 | +# - name: Unpack environment and activate it |
| 71 | +# run: bash scripts/ci/unpack_environment.sh |
72 | 72 |
|
73 |
| - - name: Run tests |
74 |
| - run: | |
75 |
| - source /tmp/pyjanitor-dev_env/bin/activate |
76 |
| - python -m pip install -e . |
77 |
| - pytest |
| 73 | +# - name: Run tests |
| 74 | +# run: | |
| 75 | +# source /tmp/pyjanitor-dev_env/bin/activate |
| 76 | +# python -m pip install -e . |
| 77 | +# pytest |
78 | 78 |
|
79 |
| - - name: Upload code coverage |
80 |
| - run: | |
81 |
| - source /tmp/pyjanitor-dev_env/bin/activate |
82 |
| - bash <(curl -s https://codecov.io/bash) |
| 79 | +# - name: Upload code coverage |
| 80 | +# run: | |
| 81 | +# source /tmp/pyjanitor-dev_env/bin/activate |
| 82 | +# bash <(curl -s https://codecov.io/bash) |
0 commit comments