-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* remove strategy * change github install-poetry action * fix github action cache
- Loading branch information
Showing
5 changed files
with
24 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,26 +15,30 @@ jobs: | |
python-version: [3.7, 3.8] | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Check out repository | ||
uses: actions/checkout@v2 | ||
|
||
- name: Set up Python ${{ matrix.python-version }} | ||
uses: actions/setup-python@v1 | ||
uses: actions/setup-python@v2 | ||
with: | ||
python-version: ${{ matrix.python-version }} | ||
|
||
- name: Install Poetry | ||
uses: dschep/[email protected] | ||
uses: snok/[email protected] | ||
with: | ||
virtualenvs-create: true | ||
virtualenvs-in-project: true | ||
|
||
- name: Cache Poetry virtualenv | ||
id: cached-poetry-dependencies | ||
uses: actions/cache@v2 | ||
id: cache | ||
with: | ||
path: ~/.cache | ||
key: poetry-${{ hashFiles('**/poetry.lock') }} | ||
path: .venv | ||
key: venv-${{ runner.os }}-${{ hashFiles('**/poetry.lock') }} | ||
|
||
- name: Install Decendencies | ||
run: poetry install | ||
if: steps.cache.outputs.cache-hit != 'true' | ||
if: steps.cached-poetry-dependences.outputs.cache-hit != 'true' | ||
|
||
- name: Run pytest | ||
run: poetry run pytest tests |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,26 +10,30 @@ jobs: | |
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Check out repository | ||
uses: actions/checkout@v2 | ||
|
||
- name: Set up Python | ||
uses: actions/setup-python@v2 | ||
with: | ||
python-version: '3.x' | ||
|
||
- name: Install Poetry | ||
uses: dschep/[email protected] | ||
uses: snok/[email protected] | ||
with: | ||
virtualenvs-create: true | ||
virtualenvs-in-project: true | ||
|
||
- name: Cache Poetry virtualenv | ||
id: cached-poetry-dependencies | ||
uses: actions/cache@v2 | ||
id: cache | ||
with: | ||
path: ~/.cache | ||
key: poetry-${{ hashFiles('**/poetry.lock') }} | ||
path: .venv | ||
key: venv-${{ runner.os}}-${{ hashFiles('**/poetry.lock') }} | ||
|
||
- name: Install Decendencies | ||
run: poetry install | ||
if: steps.cache.outputs.cache-hit != 'true' | ||
if: steps.cached-poetroy-dependencies.outputs.cache-hit != 'true' | ||
|
||
- name: Build and Publish | ||
run: | | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
[tool.poetry] | ||
name = "hotaru" | ||
version = "3.3.1" | ||
version = "3.3.2" | ||
description = "High performance Optimizer to extract spike Timing And cell location from calcium imaging data via lineaR impUlse" | ||
license = "GPL-3.0-only" | ||
authors = ["TAKEKAWA Takashi <[email protected]>"] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters