Skip to content

Update PythonScriptTest.yml #3

Update PythonScriptTest.yml

Update PythonScriptTest.yml #3

name: Python Script Test
on: [push]
jobs:
build-linux:
runs-on: ubuntu-latest
permissions:
contents: write
strategy:
max-parallel: 5
steps:
# step 1: checkout the repository
- uses: actions/checkout@v3
# step 2: define Python version to run script with
- name: Set up Python 3.10
uses: actions/setup-python@v3
with:
python-version: '3.10'
# step 3: run the script in bash
- name: run script in bash
run: |
## Check if python is activated:
which python
## Check version of Python
python3 --version
##Update pip install
pip install --upgrade pip
##Install library to read xlsx files:
pip install openpyxl
ls
cd ..
ls
python createRDFKinData.py
echo "script run successfully"