Skip to content

remove build

remove build #24

Workflow file for this run

name: server-workflow
on:
push:
branches:
- main
schedule:
- cron: '5 * * * *'
jobs:
lint:
runs-on: ubuntu-22.04
steps:
- name: Checkout Repository
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.12'
- name: Install Pylint
run: |
python -m pip install --upgrade pip
pip install pylint
- name: Run Pylint on All Files
run: |
echo "Running Pylint on all Python files..."
find . -name "*.py" ! -path "./tests/*" -path "./src/*" -path "./models/*" | xargs pylint || echo "Fix Pylint issues before proceeding."
# build:
# runs-on: ubuntu-22.04
# needs: lint
# steps:
# - name: Checkout
# uses: actions/checkout@v4
# - name: Setup python
# uses: actions/setup-python@v5
# with:
# python-version: '3.12'
# - name: Set up virtual environment
# run: python -m venv venv && source venv/bin/activate
# - name: Build
# run: python main.py
tests:
needs: [lint, build]

Check failure on line 51 in .github/workflows/depl.yml

View workflow run for this annotation

GitHub Actions / server-workflow

Invalid workflow file

The workflow is not valid. .github/workflows/depl.yml (Line: 51, Col: 19): Job 'tests' depends on unknown job 'build'.
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup python
uses: actions/setup-python@v5
with:
python-version: '3.12'
- name: Set up virtual environment
run: python -m venv venv && source venv/bin/activate
- name: Run tests
run: python run_tests.py