diff --git a/.github/workflows/benchmarks.yml b/.github/workflows/benchmarks.yml deleted file mode 100644 index 616e2d05..00000000 --- a/.github/workflows/benchmarks.yml +++ /dev/null @@ -1,63 +0,0 @@ -name: Benchmarks - -on: - push: - branches: [main] - schedule: - - cron: "0 2 * * *" - workflow_dispatch: - -jobs: - run-benchmarks: - name: Run benchmarks - runs-on: ${{ matrix.os }} - strategy: - matrix: - os: ["ubuntu-latest"] - python-version: ["3.8"] - steps: - - name: Checkout the branch - uses: actions/checkout@v3.5.2 - with: - fetch-depth: 1 - - - name: Setup Python - uses: actions/setup-python@v3 - with: - python-version: "3.8" - - - name: Install and configure Poetry - uses: snok/install-poetry@v1 - with: - version: 1.2.2 - virtualenvs-create: true - virtualenvs-in-project: true - installer-parallel: true - - - name: Install dependencies - run: | - pip install poetry - poetry install --no-interaction --all-extras --with dev - pip install packaging - pip install virtualenv - pip install asv - - - name: Set asv machine - run: | - source .venv/bin/activate - cd benchmarks - poetry run asv machine --yes - - - name: Run benchmarks - run: | - source .venv/bin/activate - cd benchmarks - poetry run asv run --show-stderr --python ../../.venv/bin/python - poetry run asv publish - - - name: Deploy to benchmarks branch - uses: peaceiris/actions-gh-pages@v3 - with: - github_token: ${{ secrets.GITHUB_TOKEN }} - publish_dir: ./.asv/html - publish_branch: benchmarks