Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
haochenpan committed Dec 4, 2023
2 parents 43bc1d7 + 2d42a48 commit d2abb35
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/daily-tox.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Daily Tox Test

on:
schedule:
- cron: '0 0 * * *' # Runs at midnight every day
workflow_dispatch: # This allows manual triggering

jobs:
tox-test:
runs-on: ubuntu-latest # or any other OS

strategy:
matrix:
python-version: [3.9, 3.11] # Adjust Python versions as needed

steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- run: python -m pip install -U pip setuptools
- run: python -m pip install tox pytest
- name: Run tox
run: tox

0 comments on commit d2abb35

Please sign in to comment.