Skip to content

Update GitHub repository links. #28

Update GitHub repository links.

Update GitHub repository links. #28

Workflow file for this run

name: Test python package
# Allow to trigger the workflow manually (e.g. when deps changes)
on: [push, workflow_dispatch]
jobs:
package-test-job:
runs-on: ubuntu-latest
timeout-minutes: 20
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
steps:
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: "3.10"
- name: Build the python package
run: |
pip install --upgrade pip
pip --version
pip install --upgrade build
python -m build
- name: Test the python package
run: |
pip install --upgrade "dist/"*".whl"
pip freeze
python -c "import dataset_grouper; print(dataset_grouper.prepare_test_tfrecord_dataset())"
python -c "import dataset_grouper; print(dataset_grouper.__version__)"