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

test output of csv #185

Merged
merged 19 commits into from
Jul 21, 2024
Merged
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
38 changes: 38 additions & 0 deletions .github/workflows/python_lib.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
name: algeria-cities python lib

on: [push]

jobs:
ci:
runs-on: ubuntu-latest
# strategy:
# matrix:
# python-version: ["3.7", "3.8", "3.9", "3.10", "3.11", "3.12"]

defaults:
run:
working-directory: ./python


steps:
- uses: actions/checkout@v4
- name: Install Python
uses: actions/setup-python@v5
with:
python-version: '3.10'

- name: Install poetry
uses: abatilo/actions-poetry@v2

- uses: actions/cache@v3
name: Define a cache for the virtual environment based on the dependencies lock file
with:
path: ./.venv
key: venv-${{ hashFiles('poetry.lock') }}

- name: Install the project dependencies
run: poetry install

- name: Run unittests
working-directory: ./python
run: poetry run pytest tests -s
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,6 @@
/.vscode
.packages
pubspec.lock
pubspec.yaml
pubspec.yaml

**/__pycache__
3,084 changes: 1,542 additions & 1,542 deletions csv/algeria_cities.csv

Large diffs are not rendered by default.

7,882 changes: 3,941 additions & 3,941 deletions csv/algeria_postcodes.csv

Large diffs are not rendered by default.

2,334 changes: 1,167 additions & 1,167 deletions csv/ar/algeria_cities.csv

Large diffs are not rendered by default.

7,882 changes: 3,941 additions & 3,941 deletions csv/ar/algeria_postcodes.csv

Large diffs are not rendered by default.

Loading
Loading