Skip to content

Commit

Permalink
Run CI on onnx-weekly package
Browse files Browse the repository at this point in the history
  • Loading branch information
cbourjau committed Aug 1, 2024
1 parent 88a1504 commit ee7cf64
Showing 1 changed file with 40 additions and 0 deletions.
40 changes: 40 additions & 0 deletions .github/workflows/nightly.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
name: Nightly CI on onnx-weekly

on:
schedule:
- cron: "0 5 * * *"
push:
paths:
- ".github/workflows/nightly.yml"

defaults:
run:
shell: bash -el {0}

jobs:
tests:
name: "Linux - unit tests - ${{ matrix.OS }} - Python ${{ matrix.PYTHON_VERSION }}"
runs-on: ${{ matrix.OS }}
env:
CI: True
strategy:
fail-fast: true
matrix:
OS: ["ubuntu-latest"]
PYTHON_VERSION: ['3.12' ]
steps:
- name: Checkout branch
uses: actions/checkout@v4
with:
ref: ${{ github.head_ref }}
- uses: mamba-org/setup-micromamba@v1
with:
environment-file: environment.yml
create-args: >-
python=${{ matrix.PYTHON_VERSION }}
- name: Run unit tests
shell: bash -l {0}
run: |
pip install onnx-weekly --pre
pip install .
pytest

0 comments on commit ee7cf64

Please sign in to comment.