11
2- name : pytorch
2+ # name: pytorch
33
4- on :
5- push :
6- branches : [main]
7- pull_request :
8- branches : [main]
4+ # on:
5+ # push:
6+ # branches: [main]
7+ # pull_request:
8+ # branches: [main]
99
1010concurrency :
1111 group : ${{ github.workflow }}-${{ github.ref }}
@@ -19,37 +19,37 @@ jobs:
1919 python-version : [3.8]
2020 os : [ubuntu-latest]
2121
22- steps :
23- - uses : actions/checkout@v3
24- - name : Set up Python ${{ matrix.python-version }}
25- uses : actions/setup-python@v4
26- with :
27- python-version : ${{ matrix.python-version }}
28- cache : ' pip'
29- cache-dependency-path : ' requirements/dev.txt'
30- - name : Install Ubuntu packages
31- run : |
32- sudo apt-get update -y
33- sudo apt-get install -y protobuf-compiler
34- - name : Install Merlin dependencies
35- run : |
36- ref_type=${{ github.ref_type }}
37- branch=main
38- if [[ $ref_type == "tag"* ]]
39- then
40- git -c protocol.version=2 fetch --no-tags --prune --progress --no-recurse-submodules --depth=1 origin +refs/heads/release*:refs/remotes/origin/release*
41- branch=$(git branch -r --contains ${{ github.ref_name }} --list '*release*' --format "%(refname:short)" | sed -e 's/^origin\///')
42- fi
43- pip install "pandas>=1.2.0,<1.4.0dev0"
44- pip install "NVTabular@git+https://github.com/NVIDIA-Merlin/NVTabular.git@$branch"
45- pip install "merlin-core@git+https://github.com/NVIDIA-Merlin/core.git@$branch"
46- - name : Install dependencies
47- run : |
48- python -m pip install --upgrade pip
49- python -m pip install .[pytorch-dev]
50- - name : Build
51- run : |
52- python setup.py develop
53- - name : Run unittests
54- run : |
55- make tests-torch
22+ # steps:
23+ # - uses: actions/checkout@v3
24+ # - name: Set up Python ${{ matrix.python-version }}
25+ # uses: actions/setup-python@v4
26+ # with:
27+ # python-version: ${{ matrix.python-version }}
28+ # cache: 'pip'
29+ # cache-dependency-path: 'requirements/dev.txt'
30+ # - name: Install Ubuntu packages
31+ # run: |
32+ # sudo apt-get update -y
33+ # sudo apt-get install -y protobuf-compiler
34+ # - name: Install Merlin dependencies
35+ # run: |
36+ # ref_type=${{ github.ref_type }}
37+ # branch=main
38+ # if [[ $ref_type == "tag"* ]]
39+ # then
40+ # git -c protocol.version=2 fetch --no-tags --prune --progress --no-recurse-submodules --depth=1 origin +refs/heads/release*:refs/remotes/origin/release*
41+ # branch=$(git branch -r --contains ${{ github.ref_name }} --list '*release*' --format "%(refname:short)" | sed -e 's/^origin\///')
42+ # fi
43+ # pip install "pandas>=1.2.0,<1.4.0dev0"
44+ # pip install "NVTabular@git+https://github.com/NVIDIA-Merlin/NVTabular.git@$branch"
45+ # pip install "merlin-core@git+https://github.com/NVIDIA-Merlin/core.git@$branch"
46+ # - name: Install dependencies
47+ # run: |
48+ # python -m pip install --upgrade pip
49+ # python -m pip install .[pytorch-dev]
50+ # - name: Build
51+ # run: |
52+ # python setup.py develop
53+ # - name: Run unittests
54+ # run: |
55+ # make tests-torch
0 commit comments