Skip to content

Commit

Permalink
CI: Upgrade actions, remove unnecessary pip-compile step
Browse files Browse the repository at this point in the history
  • Loading branch information
effigies committed Dec 13, 2023
1 parent 897cb57 commit 0d26709
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions .github/workflows/build_test_deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -80,24 +80,19 @@ jobs:
TEMPLATEFLOW_HOME: /tmp/templateflow

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Fetch packages
uses: actions/download-artifact@v3
with:
name: dist
path: dist/
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
architecture: ${{ matrix.architecture }}
- name: Display Python version
run: python -c "import sys; print(sys.version)"
- name: Generate requirements file and install them
run: |
python -m pip install --upgrade pip-tools
python -m piptools compile --output-file=requirements.txt pyproject.toml
pip install -r requirements.txt

- name: Install package
run: pip install $PACKAGE
Expand Down

0 comments on commit 0d26709

Please sign in to comment.