diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml deleted file mode 100644 index 803e2b5..0000000 --- a/.github/workflows/main.yml +++ /dev/null @@ -1,41 +0,0 @@ -name: Run Tests on Self-Hosted Runner - -on: - push: - branches: - - develop - - main - pull_request: - branches: - - develop - - main - -jobs: - test: - runs-on: self-hosted - - strategy: - matrix: - python-version: ["3.8"] - - steps: - - name: Checkout Repository - uses: actions/checkout@v3 - - - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v4 - with: - python-version: ${{ matrix.python-version }} - - - name: Install Dependencies - run: | - python -m pip install --upgrade pip - pip install pytest pylint - if [ -f requirements.txt ]; then pip install -r requirements.txt; fi - - - name: Run pylint (Static Code Analysis) - run: | - pylint --disable=C0114,C0116,C0325,C0305 $(git ls-files '*.py') - - - name: Run Tests with pytest - run: pytest tests/