Skip to content

Commit

Permalink
Create pipeline.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
advaithsrao authored Oct 16, 2023
1 parent 6582601 commit 97101e0
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/pipeline.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: Python CI

on:
push:
branches:
- main # Change to your default branch

jobs:
build:
runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v2

- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: 3.9 # Change to your desired Python version

- name: Install Poetry
run: |
pip install poetry
env:
POETRY_HOME: $HOME/.poetry
PATH: $HOME/.poetry/bin:$PATH

- name: Install project dependencies
run: |
poetry install
working-directory: ${{ github.workspace }}

0 comments on commit 97101e0

Please sign in to comment.