-
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.
- Loading branch information
Showing
3 changed files
with
103 additions
and
28 deletions.
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,72 @@ | ||
name: CI Pipeline | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
- yana | ||
- aadit | ||
- akshay | ||
- alexia | ||
pull_request: | ||
branches: | ||
- main | ||
- yana | ||
- aadit | ||
- akshay | ||
- alexia | ||
|
||
jobs: | ||
build-windows: | ||
runs-on: windows-latest | ||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v3 | ||
|
||
- name: Set up Python on Windows | ||
uses: actions/setup-python@v4 | ||
with: | ||
python-version: '3.x' | ||
|
||
- name: Install dependencies | ||
run: | | ||
python -m pip install --upgrade pip | ||
pip install -r requirements.txt | ||
- name: Run tests on Windows | ||
run: pytest | ||
|
||
- name: Run flake8 | ||
run: | | ||
flake8 . | ||
- name: Check code formatting with black | ||
run: | | ||
black --check . | ||
build-macos: | ||
runs-on: macos-latest | ||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v3 | ||
|
||
- name: Set up Python on macOS | ||
uses: actions/setup-python@v4 | ||
with: | ||
python-version: '3.x' | ||
|
||
- name: Install dependencies | ||
run: | | ||
python -m pip install --upgrade pip | ||
pip install -r requirements.txt | ||
- name: Run tests on macOS | ||
run: pytest | ||
|
||
- name: Run flake8 | ||
run: | | ||
flake8 . | ||
- name: Check code formatting with black | ||
run: | | ||
black --check . |
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 +1 @@ | ||
"# main-project-shmoney" | ||
"# main-project-shmoney" |
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,27 +1,30 @@ | ||
# requirements.txt | ||
# | ||
# Purpose: This file lists the Python packages required for this project. | ||
# These packages are necessary for the functionality and performance of the application. | ||
# | ||
# How to Use: | ||
# To install the required packages, run the following command in your terminal: | ||
# pip install -r requirements.txt | ||
# | ||
# How to Add Packages: | ||
# If you need to add a new package: | ||
# 1. Specify the package name and version (if applicable) in the same format as the existing lines. | ||
# 2. Save the changes to this file. | ||
# 3. After adding a new package, consider running the command above to ensure the environment is up to date. | ||
# | ||
# Example: To add 'matplotlib', include the following line: | ||
# matplotlib==3.4.3 | ||
# | ||
# | ||
# | ||
# | ||
# | ||
# | ||
# If you have any questions, let me know :) ! | ||
# | ||
# - AR (Alexia Rendon) | ||
# | ||
# requirements.txt | ||
# | ||
# Purpose: This file lists the Python packages required for this project. | ||
# These packages are necessary for the functionality and performance of the application. | ||
# | ||
# How to Use: | ||
# To install the required packages, run the following command in your terminal: | ||
# pip install -r requirements.txt | ||
# | ||
# How to Add Packages: | ||
# If you need to add a new package: | ||
# 1. Specify the package name and version (if applicable) in the same format as the existing lines. | ||
# 2. Save the changes to this file. | ||
# 3. After adding a new package, consider running the command above to ensure the environment is up to date. | ||
# | ||
# Example: To add 'matplotlib', include the following line: | ||
# matplotlib==3.4.3 | ||
# | ||
# | ||
# | ||
# | ||
# | ||
# | ||
# If you have any questions, let me know :) ! | ||
# | ||
# - AR (Alexia Rendon) | ||
# | ||
black==23.1.0 | ||
flake8==6.0.0 | ||
pytest==7.2.0 |