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: |
|
||||
python -m pytest tests/ -v
|
||||
|
||||
- name: Run linting
|
||||
run: |
|
||||
python -m flake8 web/ tests/ --max-line-length=120
|
||||
# - name: Run linting
|
||||
# run: |
|
||||
# python -m flake8 web/ tests/ --max-line-length=120
|
||||
|
||||
- name: Build Docker image
|
||||
run: |
|
||||
@@ -40,17 +40,16 @@ jobs:
|
||||
run: |
|
||||
docker run --rm jobs-app python -m pytest tests/ -v
|
||||
|
||||
deploy:
|
||||
runs-on: ubuntu-latest
|
||||
needs: test
|
||||
if: github.ref == 'refs/heads/main'
|
||||
# deploy:
|
||||
# runs-on: ubuntu-latest
|
||||
# needs: test
|
||||
# if: github.ref == 'refs/heads/main'
|
||||
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v4
|
||||
# steps:
|
||||
# - name: Checkout code
|
||||
# uses: actions/checkout@v4
|
||||
|
||||
- name: Deploy to production
|
||||
run: |
|
||||
echo "Deploying to production..."
|
||||
# Add your deployment commands here
|
||||
# For example: docker-compose up -d
|
||||
# - name: Deploy to production
|
||||
# run: |
|
||||
# echo "Deploying to production..."
|
||||
# docker-compose up -d
|
||||
|
||||
Reference in New Issue
Block a user