Compare catalog #12
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 Catalog Preparation | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
jobs: | |
run-catalog-preparation-consistency: | |
runs-on: ubuntu-latest | |
env: | |
OS: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: '3.8' | |
cache: 'pip' # caching pip dependencies | |
#- run: pip install -r requirements/base.rqr | |
#- run: pip install -r requirements/tests.rqr | |
- name: Set PYTHONPATH1 environment variable | |
run: echo "PYTHONPATH1=/home/runner/work/unitxt/unitxt/src:$PYTHONPATH" >> $GITHUB_ENV | |
- name: Use PYTHONPATH1 | |
run: echo "$PYTHONPATH1" | |
# Any subsequent commands can now use $PYTHONPATH1 | |
- run: export PYTHONPATH1="/home/runner/work/unitxt/unitxt/src:$PYTHONPATH" | |
- run: echo "$PYTHONPATH1" | |
- run: export PYTHONPATH="$(pwd)/src:$PYTHONPATH" | |
- run: echo "$PYTHONPATH" | |
- run: pwd | |
- run: ls src | |
- name: Run Tests | |
run: python utils/prepare_all_artifacts.py |