Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Platform Specific Lock Files #25

Merged
merged 23 commits into from
Oct 14, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
23 commits
Select commit Hold shift + click to select a range
5c2edaa
build:
pbrod Oct 1, 2024
ba716ea
fix: run "ruff format" to fix docstyle errors.
pbrod Oct 1, 2024
b570b09
Merge pull request #22 from pbrod/develop
pbrod Oct 2, 2024
32035f4
docs: Prepare changelog for automatic updates using semantic versioning
pbrod Oct 2, 2024
a4adaaf
chore(pyproject.toml): Replace use of python-semantic-release with pd…
pbrod Oct 3, 2024
26151cd
reverted: Remove release1, pypi-publish and test-pypi-publish jobs fr…
pbrod Oct 3, 2024
127ccf6
chore: Release 1.0.1
pbrod Oct 3, 2024
f95a408
chore: Update release.yml and python-package.yml
pbrod Oct 3, 2024
847aa55
chore: Send coverage report to codeclimate, codecov and SonarCloud
pbrod Oct 4, 2024
ccaddb0
chore: Only send code coverage reports for changes made to the master…
pbrod Oct 4, 2024
ae036ef
chore: Add sonar-project.properties and update link to test badge
pbrod Oct 4, 2024
c35632a
chore: Update SonarCloud analysis in python-package.yml
pbrod Oct 4, 2024
32e5bdf
docs: Updated test badge in README.rst
pbrod Oct 4, 2024
1d455de
chore: Update .readthedocs.yml
pbrod Oct 4, 2024
b7917df
chore: Release 1.0.2
pbrod Oct 4, 2024
fba9987
chore: change project short description
mhogan-nwra Oct 9, 2024
1cbae26
chore: exclude Python 3.13 release
mhogan-nwra Oct 9, 2024
acb756c
Merge branch 'pbrod:develop' into develop
mhogan-nwra Oct 11, 2024
78fae16
chore: add script to gen macos lock file
mhogan-nwra Oct 11, 2024
a897253
chore: add macos lock file
mhogan-nwra Oct 11, 2024
101f6bb
test: use platform-specific lock files with ci and coverage jobs
mhogan-nwra Oct 11, 2024
7793ac0
test: fix incorrect use platform-specific steps ci and coverage jobs
mhogan-nwra Oct 11, 2024
12c6576
chore: remove python version in lock files
mhogan-nwra Oct 11, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 23 additions & 5 deletions .github/workflows/python-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,19 @@ jobs:
uses: pdm-project/setup-pdm@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
- if: matrix.os == 'ubuntu-latest'
name: Install dependencies on Linux
run: |
pdm install -dG test
- name: Run Tests
pdm install -dG test -L pdm_linux.lock
- if: matrix.os == 'windows-latest'
name: Install dependencies on Windows
run: |
pdm install -dG test -L pdm_windows.lock
- if: matrix.os == 'macOS-latest'
name: Install dependencies on macOS
run: |
pdm install -dG test -L pdm_macos.lock
- name: Run Tests
run: |
pdm run pytest
coverage:
Expand All @@ -48,9 +57,18 @@ jobs:
uses: pdm-project/setup-pdm@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
- if: matrix.os == 'ubuntu-latest'
name: Install dependencies on Linux
run: |
pdm install -dG test -L pdm_linux.lock
- if: matrix.os == 'windows-latest'
name: Install dependencies on Windows
run: |
pdm install -dG test -L pdm_windows.lock
- if: matrix.os == 'macOS-latest'
name: Install dependencies on macOS
run: |
pdm install -dG test
pdm install -dG test -L pdm_macos.lock
# See: https://remarkablemark.org/blog/2023/10/14/setup-codeclimate-with-github-actions/
- uses: remarkablemark/setup-codeclimate@v2
- name: Run Tests and report to CodeClimate
Expand Down
Loading
Loading