add function to convert csvw json to a CSV format similar to the one … #9
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
name: Tests | |
on: [push, pull_request, workflow_call, workflow_dispatch] | |
jobs: | |
tests: | |
name: ✅ Run tests | |
runs-on: ${{ matrix.os }} | |
strategy: | |
fail-fast: false | |
matrix: | |
os: ["ubuntu-latest", "windows-latest"] # "macos-latest" | |
python-version: ["3.8", "3.9", "3.10", "3.11"] | |
# ydata-profiling don't support "3.12" yet | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v4 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Install dependencies | |
run: | | |
pipx install hatch | |
- name: Test with coverage | |
run: | | |
hatch run test | |
codeql: | |
name: 🔎 CodeQL analysis | |
runs-on: ubuntu-latest | |
permissions: | |
security-events: write # required for all workflows | |
# only required for workflows in private repositories: | |
actions: read | |
contents: read | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Initialize CodeQL | |
uses: github/codeql-action/init@v2 | |
with: | |
languages: python | |
# Autobuild attempts to build any compiled languages (C/C++, C#, Go, or Java) | |
- name: Autobuild | |
uses: github/codeql-action/autobuild@v2 | |
- name: Perform CodeQL Analysis | |
uses: github/codeql-action/analyze@v2 |