Skip to content

Commit

Permalink
Merge pull request #17 from chrishavlin/update_release_action
Browse files Browse the repository at this point in the history
bump version and update CI: release action, pre-commit.ci
  • Loading branch information
chrishavlin authored Dec 1, 2023
2 parents a56869f + f9c8175 commit 2e51445
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 82 deletions.
22 changes: 7 additions & 15 deletions .github/workflows/create-gh-release.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
# https://github.com/actions/create-release
on:
push:
# Sequence of patterns matched against refs/tags
tags:
- 'v*' # Push events to matching v*, i.e. v1.0, v20.15.10

Expand All @@ -11,20 +9,14 @@ jobs:
build:
name: Create Release
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Create Release
id: create_release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # This token is provided by Actions, you do not need to create your own token
- uses: actions/checkout@v4
- uses: ncipollo/release-action@v1
with:
tag_name: ${{ github.ref }}
release_name: Release ${{ github.ref }}
body: |
Changes in this Release
- First Change
- Second Change
token: ${{ secrets.GITHUB_TOKEN }}
draft: true
tag: ${{ github.ref }}
prerelease: false
name: Release ${{ github.ref }}
2 changes: 1 addition & 1 deletion .github/workflows/run-pytest.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ['3.9', '3.10']
python-version: ['3.9', '3.10', '3.11']
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
Expand Down
58 changes: 0 additions & 58 deletions .github/workflows/style-checks.yaml

This file was deleted.

4 changes: 4 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
ci:
autofix_prs: false
autoupdate_schedule: weekly

default_language_version:
python: python3.10

Expand Down
13 changes: 5 additions & 8 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"

[project]
name = "aglio"
version = "0.1.0"
version = "0.2.0"
authors = [
{ name="Chris Havlin", email="[email protected]" },
]
Expand All @@ -13,17 +13,19 @@ readme = "README.md"
requires-python = ">=3.9"
classifiers = [
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
]
dependencies=["netcdf4",
"h5py",
"scipy",
"geopandas>=0.11.1",
"shapely",
"shapely>=2.0",
"xarray",
"scikit-learn",
"pygeos",
"tslearn",
"dask",
]
Expand All @@ -49,8 +51,3 @@ extra = [
"yt_idv",
"cartopy",
]
lint = [
"black==22.8.0",
"isort==5.12.0",
"flake8==6.0.0"
]

0 comments on commit 2e51445

Please sign in to comment.