Skip to content

Commit

Permalink
updated actions checkout and python-setup v2 to v3
Browse files Browse the repository at this point in the history
  • Loading branch information
dave-doty committed Sep 7, 2023
1 parent 0710859 commit fae8189
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 19 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,9 @@ jobs:
LICENSE.txt
# Publish to PyPI
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v2
uses: actions/setup-python@v3
with:
python-version: '3.9'
- name: Upgrade pip
Expand Down
34 changes: 17 additions & 17 deletions .github/workflows/run_unit_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,22 +13,22 @@ jobs:
image: unhumbleben/nupack:latest
strategy:
matrix:
python-version: [3.7, 3.8, 3.9]
python-version: [ 3.7, 3.8, 3.9 ]

steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Upgrade pip
run: python -m pip install --upgrade pip
- name: Install NUPACK
run: |
python -m pip install -U nupack -f /nupack/package
- name: Install dependencies
run: |
if [ -f requirements.txt ]; then python -m pip install -r requirements.txt; fi
- name: Test with unittest
run: |
python -m unittest -v tests/test.py
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v3
with:
python-version: ${{ matrix.python-version }}
- name: Upgrade pip
run: python -m pip install --upgrade pip
- name: Install NUPACK
run: |
python -m pip install -U nupack -f /nupack/package
- name: Install dependencies
run: |
if [ -f requirements.txt ]; then python -m pip install -r requirements.txt; fi
- name: Test with unittest
run: |
python -m unittest -v tests/test.py

0 comments on commit fae8189

Please sign in to comment.