From 73a24f2ca5a289469ab2897c1c989426e8a8de6e Mon Sep 17 00:00:00 2001 From: forefy Date: Tue, 13 Feb 2024 20:16:47 +0200 Subject: [PATCH] Update workflows --- .github/workflows/pytest.yml | 38 ------------------------------------ 1 file changed, 38 deletions(-) delete mode 100644 .github/workflows/pytest.yml diff --git a/.github/workflows/pytest.yml b/.github/workflows/pytest.yml deleted file mode 100644 index 6de4f0d..0000000 --- a/.github/workflows/pytest.yml +++ /dev/null @@ -1,38 +0,0 @@ -name: pytest - -on: - push: - branches: [ main ] - pull_request: - branches: [ main ] - schedule: [ cron: "0 7 * * 2" ] - -concurrency: - group: ${{ github.workflow }}-${{ github.ref }} - cancel-in-progress: true - -jobs: - test: - runs-on: ubuntu-latest - - steps: - - name: Checkout repository - uses: actions/checkout@v4 - - - name: Set up Python - uses: actions/setup-python@v4 - with: - python-version: "3.11" - - - name: Install dependencies - run: | - python -m venv /tmp/pytest-env - source /tmp/pytest-env/bin/activate - python -m pip install --upgrade pip setuptools wheel - python -m pip install pytest - python -m pip install . - - - name: Run pytest - run: | - source /tmp/pytest-env/bin/activate - pytest -s tests/