Skip to content

Commit

Permalink
Update Actions (#2)
Browse files Browse the repository at this point in the history
* add six requirement

* add six requirement

* update actions and reqs
  • Loading branch information
isaaccorley authored Jan 26, 2024
1 parent 9269dc6 commit f4cb90a
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 6 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,7 @@ jobs:
- name: List pip dependencies
run: pip list
- name: Run integration checks
run: |
python -m torchseg --help
torchseg --help
run: pytest
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.head.label || github.head_ref || github.ref }}
cancel-in-progress: true
1 change: 0 additions & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@ jobs:
- name: Run pytest checks
run: |
pytest --cov=torchseg --cov-report=xml --durations=10
python3 -m torchseg --help
- name: Report coverage
uses: codecov/[email protected]
with:
Expand Down
3 changes: 2 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ classifiers = [
"Topic :: Scientific/Engineering :: Artificial Intelligence",
]
dependencies = [
"timm>=0.4.12",
"timm>=0.9.12",
"torch>=1.13",
"torchvision>=0.14",
"einops>=0.3",
Expand All @@ -50,6 +50,7 @@ style = [
tests = [
"pytest>=7.3",
"pytest-cov>=4",
"six>=1.16.0"
]
all = [
"torchseg[style,tests]",
Expand Down
3 changes: 2 additions & 1 deletion requirements/tests.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# tests
pytest==7.4.4
pytest-cov==4.1.0
mock==5.1.0
mock==5.1.0
six==1.16.0

0 comments on commit f4cb90a

Please sign in to comment.