Skip to content

Merge pull request #15 from ipranjal/feature/quiz4 #76

Merge pull request #15 from ipranjal/feature/quiz4

Merge pull request #15 from ipranjal/feature/quiz4 #76

Workflow file for this run

name: GitHub Actions Demo
on: [push,workflow_dispatch]
jobs:
Explore-GitHub-Actions:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.8.1]
steps:
- run: echo "🎉 The job was automatically triggered by a ${{ github.event_name }} event."
- run: echo "🐧 This job is now running on a ${{ runner.os }} server hosted by GitHub!"
- run: echo "🔎 The name of your branch is ${{ github.ref }} and your repository is ${{ github.repository }}."
- name: Check out repository code
uses: actions/checkout@v2
- run: echo "💡 The ${{ github.repository }} repository has been cloned to the runner."
- run: echo "🖥️ The workflow is now ready to test your code on the runner."
- name: List files in the repository
run: |
ls -r ${{ github.workspace }}
- run: echo "🍏 This job's status is ${{ job.status }}."
- name: Install dep
run: pip3 install --no-cache-dir -r requirements.txt
- name: Run code
run: python3 digits.py --runs 4 --test_sizes 0.3 --dev_sizes 0.2 --prod svm --candidate tree
- name: Run test cases
run: python3 -m pytest
- name: Run docker commands
run: source ./docker/docker_run.sh