Update GitHub repository links. #28
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: 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__)" |