Spaces:
Runtime error
Runtime error
Download .github/workflows/ci.yml from pradeepsomannavar/Drug-Classification: direct link, hf CLI and curl.
- Browser
- Download file 727 Bytes
-
https://huggingface.co/spaces/pradeepsomannavar/Drug-Classification/resolve/main/.github/workflows/ci.yml
- Command line
-
hf download hf://spaces/pradeepsomannavar/Drug-Classification/.github/workflows/ci.yml
-
curl -L -o ci.yml https://huggingface.co/spaces/pradeepsomannavar/Drug-Classification/resolve/main/.github/workflows/ci.yml
727 Bytes
| name: Continuous Integration | |
| on: | |
| push: | |
| branches: [ "main" ] | |
| pull_request: | |
| branches: [ "main" ] | |
| workflow_dispatch: | |
| permissions: write-all | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v3 | |
| - uses: iterative/setup-cml@v2 | |
| - name: Install Packages | |
| run: make install | |
| - name: Format | |
| run: make format | |
| - name: Train | |
| run: make train | |
| - name: Evaluation | |
| env: | |
| REPO_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| run: make eval | |
| - name: Update Branch | |
| env: | |
| NAME: ${{ secrets.USER_NAME }} | |
| EMAIL: ${{ secrets.USER_EMAIL }} | |
| run: make update-branch USER_NAME=$NAME USER_EMAIL=$EMAIL | |