Skip to content

Commit

Permalink
Remove empty tests from CI
Browse files Browse the repository at this point in the history
  • Loading branch information
jdeschamps committed Feb 14, 2024
1 parent 57a0de0 commit f8cd44d
Showing 1 changed file with 17 additions and 17 deletions.
34 changes: 17 additions & 17 deletions .github/workflows/test_and_deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ on:
workflow_dispatch:

jobs:
test:
install:
name: ${{ matrix.platform }} (${{ matrix.python-version }})
runs-on: ${{ matrix.platform }}
strategy:
Expand Down Expand Up @@ -43,22 +43,22 @@ jobs:
# if running a cron job, we add the --pre flag to test against pre-releases
python -m pip install .[test] ${{ github.event_name == 'schedule' && '--pre' || '' }}
- name: 🧪 Run Tests
run: pytest --color=yes --cov --cov-report=xml --cov-report=term-missing

# If something goes wrong with --pre tests, we can open an issue in the repo
- name: 📝 Report --pre Failures
if: failure() && github.event_name == 'schedule'
uses: JasonEtco/create-an-issue@v2
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
PLATFORM: ${{ matrix.platform }}
PYTHON: ${{ matrix.python-version }}
RUN_ID: ${{ github.run_id }}
TITLE: "[test-bot] pip install --pre is failing"
with:
filename: .github/TEST_FAIL_TEMPLATE.md
update_existing: true
# - name: 🧪 Run Tests
# run: pytest --color=yes --cov --cov-report=xml --cov-report=term-missing

# # If something goes wrong with --pre tests, we can open an issue in the repo
# - name: 📝 Report --pre Failures
# if: failure() && github.event_name == 'schedule'
# uses: JasonEtco/create-an-issue@v2
# env:
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# PLATFORM: ${{ matrix.platform }}
# PYTHON: ${{ matrix.python-version }}
# RUN_ID: ${{ github.run_id }}
# TITLE: "[test-bot] pip install --pre is failing"
# with:
# filename: .github/TEST_FAIL_TEMPLATE.md
# update_existing: true

- name: Coverage
uses: codecov/codecov-action@v3
Expand Down

0 comments on commit f8cd44d

Please sign in to comment.