Skip to content

just run lr for once #83

just run lr for once

just run lr for once #83

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 with linear regression Q3
run: python3 digits.py --runs 1 --test_sizes 0.3 --dev_sizes 0.2 --models lr
- name: Run code normaly
run: python3 digits.py --runs 4 --test_sizes 0.3 --dev_sizes 0.2 --models svm,tree
- name: Run test cases
run: python3 -m pytest
- name: Run docker commands
run: source ./docker/docker_run.sh