Skip to content

Commit 51b82ef

Browse files
committed
Merge branch 'master' into getItemLinks
2 parents d5977a0 + 72bd9b9 commit 51b82ef

File tree

5 files changed

+45
-1
lines changed

5 files changed

+45
-1
lines changed
Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
# Github Actions workflow syntax documentation:
2+
# https://docs.github.com/en/actions/learn-github-actions/workflow-syntax-for-github-actions
3+
#
4+
# Useful Github Actions Triggers reference:
5+
# https://help.github.com/en/actions/automating-your-workflow-with-github-actions/creating-a-custom-action#triggers
6+
7+
8+
name: "Continuous Integration"
9+
10+
on: [push, pull_request] # run unit tests on each commit so developers can notice errors as early as possible
11+
12+
jobs:
13+
test:
14+
name: Unit tests
15+
runs-on: ubuntu-latest
16+
strategy:
17+
matrix: # matrix testing strategy
18+
python-version: ['3.7', '3.8', '3.9', '3.10']
19+
steps:
20+
- name: Check out repository code
21+
uses: actions/checkout@v2
22+
# Setup Python (faster than using Python container)
23+
- name: Setup Python
24+
uses: actions/setup-python@v2
25+
with:
26+
python-version: ${{ matrix.python-version }}
27+
- name: Install solid
28+
run: python setup.py install
29+
- name: Install pytest
30+
run: pip install pytest
31+
- name: Run pytest
32+
run: pytest
33+

README.md

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,17 @@
1-
# About
1+
[![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](https://opensource.org/licenses/MIT) [![PyPI - Python Version](https://img.shields.io/pypi/pyversions/solid-file)](https://pypi.org/project/solid-file/) ![PyPI - Downloads](https://img.shields.io/pypi/dm/solid-file) ![GitHub closed issues](https://img.shields.io/github/issues-closed/twonote/solid-file-python)
2+
3+
# About
24
solid-file-python is a Python library for creating and managing files and folders in Solid pods.
35

46
Read and try it on [jupiter notebook](https://github.com/twonote/solid-file-python/blob/master/solid-file-python-getting-start.ipynb) now!
57

8+
# What is Solid?
9+
10+
Solid is a specification that lets people store their data securely in decentralized data stores called Pods. Learn more about Solid on [solidproject.org](https://solidproject.org/).
11+
12+
# Test setting
13+
If you run the tests on terminal using VS Code as the editor, you need to add this line `"terminal.integrated.env.osx": {"PYTHONPATH": "${workspaceFolder}"}` to `/.vscode/setting.json` to make it work.
14+
615
# Credit
716
This project is inspired by (and porting from) [jeff-zucker/solid-file-client](https://github.com/jeff-zucker/solid-file-client)
817
I want to thank the original authors and the community who worked to build that lovely project for Solid ecosystem.

setup.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
from setuptools import setup
2+
setup()

0 commit comments

Comments
 (0)