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

Feature/1 all ruptures #2

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open
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
1 change: 1 addition & 0 deletions .env
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
TESTING=1
6 changes: 3 additions & 3 deletions .github/workflows/preview.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,11 @@ jobs:

strategy:
matrix:
python-versions: [ 3.8 ]
python-versions: ["3.10"]

steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-versions }}

Expand Down
18 changes: 10 additions & 8 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,11 @@ jobs:
# This workflow contains a single job called "release"
release:
name: Create Release
runs-on: ubuntu-20.04
runs-on: ubuntu-latest

strategy:
matrix:
python-versions: [3.8]
python-versions: ["3.8", "3.9", "3.10"]

# Steps represent a sequence of tasks that will be executed as part of the job
steps:
Expand All @@ -32,7 +32,7 @@ jobs:
shell: bash

# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v2
- uses: actions/checkout@v3

- name: Get Changelog Entry
id: changelog_reader
Expand All @@ -42,14 +42,16 @@ jobs:
version: ${{ steps.tag_name.outputs.current_version }}
path: ./CHANGELOG.md

- uses: actions/setup-python@v2
- uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-versions }}

- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install poetry
- name: Install and configure Poetry
uses: snok/install-poetry@v1
with:
virtualenvs-create: true
virtualenvs-in-project: true
installer-parallel: true

- name: build documentation
run: |
Expand Down
11 changes: 10 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
# Changelog

## 0.1.0 (2022-06-16)
## [0.1.1] - 2023-02-21
### Changed
- update github actions helper
- udpate python versions for test and release
- refactor model.attributes package
- more test coverage
### Added
- `.env` file for poetry testing `poetry run pytest`

## 0.1.0 - 2022-12-20

* First release on PyPI.
14 changes: 9 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,20 +7,24 @@
[![codecov](https://codecov.io/gh/GNS-Science/solvis-store/branch/main/graphs/badge.svg)](https://codecov.io/github/GNS-Science/solvis-store)



Solvis Store


* Documentation: <https://GNS-Science.github.io/solvis-store>
* GitHub: <https://github.com/GNS-Science/solvis-store>
* PyPI: <https://pypi.org/project/solvis-store/>
* Free software: GPL-3.0-only


## Features

* TODO

## TESTING

Prereq: make sure poetry can use the `.env` file
```
poetry self add poetry-dotenv-plugin
```

`poetry run pytest`

## Credits

This package was created with [Cookiecutter](https://github.com/audreyr/cookiecutter) and the [waynerv/cookiecutter-pypackage](https://github.com/waynerv/cookiecutter-pypackage) project template.
2 changes: 1 addition & 1 deletion mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ plugins:
lang: en
- mkdocstrings:
watch:
- solvis-store
- solvis_store
extra:
social:
- icon: fontawesome/brands/twitter
Expand Down
Loading