Skip to content

Commit 5e69c42

Browse files
author
Prabhakar Kumar
committed
update test yml to use node 16 and remove references to anaconda
1 parent 16c3a67 commit 5e69c42

File tree

6 files changed

+13
-167
lines changed

6 files changed

+13
-167
lines changed

.github/actions/build_and_publish_pypi/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ runs:
1010
using: "composite"
1111
steps:
1212
- name: Set up Python 3.8
13-
uses: actions/setup-python@v2
13+
uses: actions/setup-python@v4
1414
with:
1515
python-version: '3.8'
1616

.github/actions/generate-code-coverage/action.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,12 @@ runs:
66
using: "composite"
77
steps:
88
- name: Set up Python 3.8
9-
uses: actions/setup-python@v2
9+
uses: actions/setup-python@v4
1010
with:
1111
python-version: '3.8'
1212

1313
- name: Use Node.js 13.x
14-
uses: actions/setup-node@v2
14+
uses: actions/setup-node@v3
1515
with:
1616
node-version: 13.x
1717

.github/workflows/release-to-pypi.yml

Lines changed: 2 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -19,48 +19,11 @@ jobs:
1919
runs-on: ubuntu-latest
2020
steps:
2121
- name: Checkout
22-
uses: actions/checkout@v2
22+
uses: actions/checkout@v3
2323
with:
2424
ref: ${{github.sha}}
2525

2626
- name: Build and Publish in PyPi
2727
uses: ./.github/actions/build_and_publish_pypi
2828
with:
29-
pypi_token: ${{ secrets.PYPI_TOKEN }}
30-
31-
# build_and_publish_anaconda:
32-
# needs: [build_and_publish_pypi]
33-
# if: success()
34-
# runs-on: ubuntu-latest
35-
36-
# steps:
37-
# - name: Checkout
38-
# uses: actions/checkout@v2
39-
# with:
40-
# ref: ${{github.sha}}
41-
42-
# - name: Set up Python 3.6
43-
# uses: actions/setup-python@v2
44-
# with:
45-
# python-version: 3.6
46-
47-
# - name: Install Python build dependencies
48-
# run: |
49-
# python -m pip install --upgrade pip
50-
# python -m pip install wheel
51-
# python -m pip install .[dev]
52-
53-
# - name: Build and Publish to Anaconda.
54-
# env:
55-
# ANACONDA_API_TOKEN: ${{ secrets.ANACONDA_API_TOKEN }}
56-
57-
# run: |
58-
# # $CONDA is an environment variable pointing to the root of the miniconda directory
59-
# echo $CONDA/bin >> $GITHUB_PATH
60-
# conda install -y conda-build
61-
# conda install -y anaconda-client
62-
# cd ./anaconda
63-
# conda skeleton pypi matlab-proxy
64-
# python parse_meta_file.py
65-
# conda build ./matlab-proxy --python 3.6 --output-folder ./build
66-
# $CONDA/bin/anaconda upload --label main ./build/linux-64/matlab*.tar.gz
29+
pypi_token: ${{ secrets.PYPI_TOKEN }}

.github/workflows/run-tests-main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
runs-on: ubuntu-latest
2323
steps:
2424
- name: Checkout
25-
uses: actions/checkout@v2
25+
uses: actions/checkout@v3
2626

2727
- name: Generate Code Coverage XML
2828
uses: ./.github/actions/generate-code-coverage

.github/workflows/run-tests.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -25,18 +25,18 @@ jobs:
2525

2626
steps:
2727
- name: Checkout
28-
uses: actions/checkout@v2
28+
uses: actions/checkout@v3
2929

30-
- name: Use Node.js 13.x
31-
uses: actions/setup-node@v2
30+
- name: Use Node.js 16.x
31+
uses: actions/setup-node@v3
3232
with:
33-
node-version: 13.x
33+
node-version: 16.x
3434

3535
- name: Install Node dependencies
3636
run: npm install
3737

3838
- name: Build Project
39-
run: npm build --if-present
39+
run: npm run build --if-present
4040

4141
- name: Run Node tests
4242
run: npm test
@@ -58,10 +58,10 @@ jobs:
5858

5959
steps:
6060
- name: Checkout
61-
uses: actions/checkout@v2
61+
uses: actions/checkout@v3
6262

6363
- name: Set up Python ${{ matrix.python-version }}
64-
uses: actions/setup-python@v2
64+
uses: actions/setup-python@v4
6565
with:
6666
python-version: ${{ matrix.python-version }}
6767

anaconda/parse_meta_file.py

Lines changed: 0 additions & 117 deletions
This file was deleted.

0 commit comments

Comments
 (0)