Skip to content

Commit

Permalink
updating ci-cd.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
ronnnnnnnnnnnnn committed Aug 24, 2024
1 parent 11ca6d8 commit a3f8877
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/ci-cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install hatch flake8 pytest
pip install hatch flake8 pytest pytest-asyncio
pip install .
- name: Lint with flake8
run: |
Expand All @@ -49,7 +49,9 @@ jobs:
run: rm -rf dist/
- name: Extract version from pyproject.toml
id: extract_version
run: echo "VERSION=$(grep '^version =' pyproject.toml | sed -E 's/.*version = \"([^\"]+)\"/\\1/')" >> $GITHUB_ENV
run: |
VERSION=$(grep '^version =' pyproject.toml | sed -E 's/version = \"([^\"]+)\"/\\1/')
echo "VERSION=$VERSION" >> $GITHUB_ENV
- name: Install dependencies
run: |
python -m pip install --upgrade pip
Expand Down

0 comments on commit a3f8877

Please sign in to comment.