Skip to content

Commit

Permalink
Upgrade pip (#238)
Browse files Browse the repository at this point in the history
Output Python and Pip version
Remove yarn installs
Remove dangling todo
  • Loading branch information
rahul-tuli committed Jun 30, 2023
1 parent 71b796d commit 572e98e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
12 changes: 7 additions & 5 deletions .github/workflows/quality-check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,13 @@ jobs:
quality-check:
runs-on: ubuntu-latest
steps:
- name: "Python Version"
run: python3 --version

- name: "Upgrade pip and output version"
run: |
python3 -m pip install --upgrade pip
pip3 --version
- uses: actions/checkout@v2
- uses: actions/checkout@v2
with:
Expand All @@ -29,12 +36,7 @@ jobs:
run: pip3 install sparseml/
- name: "Clean sparseml directory"
run: rm -r sparseml/
- uses: actions/setup-node@v2
with:
node-version: '14'
- name: "⚙️ Install python dependencies"
run: pip3 install .[dev]
- name: "⚙️ Install yarn dependencies"
run: yarn install
- name: "🧹 Running quality checks"
run: make quality
1 change: 0 additions & 1 deletion .github/workflows/test-check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ jobs:
fetch-depth: 0
- name: "Checking if sparsify python code was changed"
id: python-check
# TODO: delete sparsify.alpha reference after merge
run: >
((git diff --name-only origin/main HEAD | grep -E "[src|tests]/sparsify|setup.py")
|| (echo $GITHUB_REF | grep -E "refs/heads/[release/|main]"))
Expand Down

0 comments on commit 572e98e

Please sign in to comment.