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

v1.6 #23

Merged
merged 1 commit into from
Jan 6, 2025
Merged

v1.6 #23

Show file tree
Hide file tree
Changes from all commits
Commits
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
5 changes: 3 additions & 2 deletions .github/workflows/test-action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [ 3.8, 3.9, "3.10", "3.11" ]
python-version: [3.9, "3.10", "3.11", "3.12"]
steps:
- uses: actions/checkout@v2
- uses: conda-incubator/setup-miniconda@v2
Expand All @@ -30,4 +30,5 @@ jobs:
edgetest-flags: '--config=setup.cfg --export'
base-branch: 'dev'
skip-pr: 'true'
python-version: ${{ matrix.python-version }}
python-version: ${{ matrix.python-version }}
add-paths: 'setup.cfg, requirements.txt'
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ Options
| `base-branch` | the branch which you want to PR against if there are changes. This is typically your development branch | `'dev'` | `'develop' ` |
| `skip-pr` | skips the action summiting a PR if there are any changes. | | `'true'` or `'false'` |
| `python-version` | Python version to use (from "setup-miniconda"). | 3.10 | 3.7, 3.8, 3.9, 3.10 |

| `add-paths` | A comma separated list of file paths to commit. (from "peter-evans/create-pull-request"). | `'*'` | `'requirements.txt, setup.cfg, pyproject.toml'`|


Action Dependencies
Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v1.5
v1.6
9 changes: 6 additions & 3 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,11 @@ inputs:
description: 'Python version to use (from "setup-miniconda"). Defaults to 3.10.
See https://anaconda.org/anaconda/python for available "python" versions.'
default: '3.10'
add-paths: # files to include in git commit
description: 'A comma separated list of file paths to commit.
Paths should follow gits pathspec syntax. If no paths are specified,
all new and modified files are added.'
default: '*'
runs:
using: "composite"
steps:
Expand Down Expand Up @@ -45,6 +50,4 @@ runs:
commit-message: '[edgetest] automated change'
body: Automated changes by [run-edgetest-action](https://github.com/edgetest-dev/run-edgetest-action) GitHub action
add-paths: |
requirements.txt
setup.cfg
pyproject.toml
${{ inputs.add-paths }}
4 changes: 2 additions & 2 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@
#
# pip-compile --output-file=requirements.txt setup.cfg
#
numpy==1.22.3
numpy==2.0.0
# via pandas
pandas==1.2.0
pandas==2.0.0
# via toy-package (setup.cfg)
python-dateutil==2.8.2
# via pandas
Expand Down
6 changes: 3 additions & 3 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -3,21 +3,21 @@ name = toy_package
version = 0.1.0
description = Fake description
python_requires =
>=3.7.0
>=3.9.0

[options]
zip_safe = False
include_package_data = True
packages = find:
install_requires =
pandas<=1.2.0
pandas<=2.0.0

[options.extras_require]
tests =
pytest

[edgetest]
python_version = 3.10
python_version = 3.11
extras =
tests
deps =
Expand Down
Loading