Skip to content

Commit

Permalink
change install action command
Browse files Browse the repository at this point in the history
  • Loading branch information
jat255 committed Jan 8, 2025
1 parent 497d1ed commit 345a251
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 4 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/install.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,15 @@ jobs:
fail-fast: false
matrix:
os: ["ubuntu-latest", "macos-latest", "windows-latest"]
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13"]
python-version: ["3.12", "3.13"]
steps:
- name: Checkout latest commit
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install
run: pip install -r requirements.txt
run: pip install .
- name: Test script
run: fit-file-faker -h
10 changes: 9 additions & 1 deletion .github/workflows/publish_and_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,15 @@ jobs:
with:
name: python-package-distributions
path: dist/
- name: Rename files
run: |
sudo apt install -y rename
rename 's/\.tar\.gz/_'${GITHUB_SHA:0:7}'\.tar\.gz/' dist/*.tar.gz
rename 's/\.whl/_'${GITHUB_SHA:0:7}'\.whl/' dist/*.whl
- name: List files
run: ls -lah dist
- name: Publish distribution 📦 to TestPyPI
uses: pypa/gh-action-pypi-publish@release/v1
with:
repository-url: https://test.pypi.org/legacy/
repository-url: https://test.pypi.org/legacy/
verbose: true
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ Homepage = "https://github.com/jat255/Fit-File-Faker"
Issues = "https://github.com/jat255/Fit-File-Faker/issues"

[build-system]
requires = ["setuptools>=61.0"]
requires = ["setuptools>=64.0"]
build-backend = "setuptools.build_meta"

[project.scripts]
Expand Down

0 comments on commit 345a251

Please sign in to comment.