Merge pull request #227 from KMarshallX/pre-release-2.0 #151
This file contains hidden or 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: train module test | |
| on: | |
| push: | |
| branches: [ master ] | |
| paths: | |
| - README.md | |
| - train.py | |
| - config/train_config.py | |
| - environment.yml | |
| - documentation/UPDATE.md | |
| - documentation/train_readme.md | |
| - library/aug_utils.py | |
| - library/data_loaders.py | |
| - library/eval_utils.py | |
| - library/loss_func.py | |
| - library/module_utils.py | |
| - library/train_utils.py | |
| - tests/test_train_module.sh | |
| - miniconda-setup.sh | |
| - .github/workflows/test_train.yml | |
| pull_request: | |
| branches: [ master ] | |
| paths: | |
| - README.md | |
| - train.py | |
| - config/train_config.py | |
| - environment.yml | |
| - documentation/UPDATE.md | |
| - documentation/train_readme.md | |
| - library/aug_utils.py | |
| - library/data_loaders.py | |
| - library/eval_utils.py | |
| - library/loss_func.py | |
| - library/module_utils.py | |
| - library/train_utils.py | |
| - tests/test_train_module.sh | |
| - miniconda-setup.sh | |
| - .github/workflows/test_train.yml | |
| jobs: | |
| test_train_module_pipeline: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v3 | |
| - uses: actions/setup-python@v3 | |
| with: | |
| python-version: 3.10.16 | |
| - name: test train module | |
| env: | |
| OSF_TOKEN_: ${{ secrets.OSF_KEY }} | |
| OSF_USERNAME_: ${{ secrets.OSF_USERNAME }} | |
| OSF_PROJECT_ID_: "abk4p" | |
| run: | | |
| /bin/bash tests/test_train_module.sh |