Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
kachiann committed Aug 19, 2024
2 parents 0621f49 + 82f6ce6 commit 66c6864
Showing 1 changed file with 0 additions and 45 deletions.
45 changes: 0 additions & 45 deletions .github/workflows/cd.yml
Original file line number Diff line number Diff line change
@@ -1,45 +0,0 @@
name: Continuous Deployment

on:
push:
branches: [ main ]
workflow_dispatch:

jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3

- name: Set up Python 3.11
uses: actions/setup-python@v4 # Corrected indentation here
with:
python-version: '3.11'

- name: Install dependencies from requirements.txt
run: |
if [ -f requirements.txt ]; then
python -m pip install --upgrade pip
pip install -r requirements.txt
fi
- name: Install pipenv and dependencies
run: |
python -m pip install --upgrade pip pipenv
if [ -f Pipfile ]; then
pipenv install --dev --skip-lock
fi
- name: Run Unit tests
run: |
if [ -f Pipfile ]; then
pipenv run pytest
fi
working-directory: tests/unit-tests

- name: Lint
run: |
if [ -f Pipfile ]; then
pipenv run pylint --recursive=y src
fi
working-directory: .

0 comments on commit 66c6864

Please sign in to comment.