Skip to content

added gitactions ci/cd for the project #1

added gitactions ci/cd for the project

added gitactions ci/cd for the project #1

name: Energy Weather Workflow
on:
push:
branches:
- main
paths:
- project/**
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup Python
uses: actions/setup-python@v4
with:
python-version: '3.9' # Specify the Python version
- name: Install dependencies # Install libraries from requirements.txt
run: pip install -r requirements.txt
- name: Run tests # Run tests using test.sh file
run: bash test.sh