forked from jvalue/made-template
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
added gitactions ci/cd for the project
- Loading branch information
Srinivas Seema
committed
Dec 20, 2023
1 parent
5a9f831
commit 37c977e
Showing
2 changed files
with
25 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
pip install -r requirements.txt | ||
python3 tests.py | ||
python3 tests.py1 |