Skip to content

Python CI

Python CI #2

Workflow file for this run

name: Python CI
on:
push:
branches:
- main
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Use Node.js 16
uses: actions/setup-node@v4
with:
node-version: '16'
- name: Checkout repository
uses: actions/[email protected]
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: 3.x
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -U xlrd pandas requests beautifulsoup4 Babel
- name: Install openpyxl
run: |
python -m pip install openpyxl
- name: Run Python script
run: |
python conab.py
- name: Commit changes
run: |
git config --local user.email "[email protected]"
git config --local user.name "GitHub Actions"
git add .
git commit -m "Add generated files by conab.py"
- name: Push changes
uses: ad-m/[email protected]
with:
github_token: ${{ secrets.GITHUB_TOKEN }}