Skip to content

Commit

Permalink
Try to fix github workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
jbcoe committed Mar 31, 2024
1 parent 11b6de6 commit 0ddac68
Showing 1 changed file with 20 additions and 15 deletions.
35 changes: 20 additions & 15 deletions .github/workflows/python.yml
Original file line number Diff line number Diff line change
@@ -1,20 +1,25 @@
name: Python test
on:
schedule:
- cron: "0 1 * * *"
push:
name: Python package

push:
branches: [main]
pull_request:
pull_request:
branches: [main]

jobs:
build:

runs-on: ubuntu-latest
strategy:
matrix:
python: ["3.11"]

steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.11'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
- uses: actions/checkout@v4
- name: Setup Python
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt

0 comments on commit 0ddac68

Please sign in to comment.