fix: cexclude linting and deployment for now
All checks were successful
CI/CD Pipeline / test (push) Successful in 3m57s
All checks were successful
CI/CD Pipeline / test (push) Successful in 3m57s
This commit is contained in:
@@ -28,9 +28,9 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
python -m pytest tests/ -v
|
python -m pytest tests/ -v
|
||||||
|
|
||||||
- name: Run linting
|
# - name: Run linting
|
||||||
run: |
|
# run: |
|
||||||
python -m flake8 web/ tests/ --max-line-length=120
|
# python -m flake8 web/ tests/ --max-line-length=120
|
||||||
|
|
||||||
- name: Build Docker image
|
- name: Build Docker image
|
||||||
run: |
|
run: |
|
||||||
@@ -40,17 +40,16 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
docker run --rm jobs-app python -m pytest tests/ -v
|
docker run --rm jobs-app python -m pytest tests/ -v
|
||||||
|
|
||||||
deploy:
|
# deploy:
|
||||||
runs-on: ubuntu-latest
|
# runs-on: ubuntu-latest
|
||||||
needs: test
|
# needs: test
|
||||||
if: github.ref == 'refs/heads/main'
|
# if: github.ref == 'refs/heads/main'
|
||||||
|
|
||||||
steps:
|
# steps:
|
||||||
- name: Checkout code
|
# - name: Checkout code
|
||||||
uses: actions/checkout@v4
|
# uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: Deploy to production
|
# - name: Deploy to production
|
||||||
run: |
|
# run: |
|
||||||
echo "Deploying to production..."
|
# echo "Deploying to production..."
|
||||||
# Add your deployment commands here
|
# docker-compose up -d
|
||||||
# For example: docker-compose up -d
|
|
||||||
|
|||||||
Reference in New Issue
Block a user