Release v1.6.3 #164
Workflow file for this 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
name: Fakelake Build | |
on: | |
push: | |
branches: [ "main" ] | |
pull_request: | |
branches: [ "main" ] | |
jobs: | |
build: | |
name: build ${{ matrix.target }} | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
include: | |
- target: x86_64-pc-windows-gnu | |
- target: x86_64-unknown-linux-musl | |
- target: x86_64-apple-darwin | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Python | |
uses: actions/[email protected] | |
with: | |
python-version: '3.12' | |
- name : Install dependencies for output validation | |
run : pip install pandas pyarrow | |
- name: Build release | |
run: cargo build --release --verbose | |
- name: Generate all formats all options | |
run: target/release/fakelake generate tests/csv_all_options.yaml tests/json_all_options.yaml tests/parquet_all_options.yaml | |
- name: Validate all format outputs | |
run: | | |
python .github/scripts/validate_parquet.py | |
python .github/scripts/validate_csv.py | |
python .github/scripts/validate_json.py |