Skip to content

Commit c00bbfe

Browse files
authored
Update test.yaml
1 parent 2bf5988 commit c00bbfe

File tree

1 file changed

+6
-13
lines changed

1 file changed

+6
-13
lines changed

.github/workflows/test.yaml

Lines changed: 6 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -11,31 +11,24 @@ jobs:
1111
- name: Setup Python
1212
uses: actions/setup-python@v4
1313
with:
14-
python-version: '3.9'
14+
python-version: '3.10'
1515

1616
- name: Install requirements
1717
run: |
18-
sudo apt update
19-
sudo apt install -y software-properties-common
20-
sudo apt install -y build-essential python3-distutils
21-
sudo add-apt-repository universe
22-
# Verify installation
23-
if ! python3 -c "import distutils.msvccompiler" &>/dev/null; then
24-
echo "Error: python3-distutils failed to install."
25-
exit 1
26-
fi
27-
28-
pip install -r requirements.txt
18+
pip install -r requirements.txt
2919
3020
- name: Install Node.js and CML
3121
run: |
22+
sudo apt-get update
3223
sudo apt-get install -y nodejs npm
3324
npm install -g @dvcorg/cml
34-
25+
26+
3527
- name: Run pipeline
3628
env:
3729
repo_token: ${{ secrets.PAT_SECRET }}
3830
run: |
31+
dvc repro
3932
4033
# Your ML workflow goes here
4134

0 commit comments

Comments
 (0)