diff --git a/.github/workflows/nightly-test-run.yml b/.github/workflows/nightly-test-run.yml new file mode 100644 index 00000000..2f51b303 --- /dev/null +++ b/.github/workflows/nightly-test-run.yml @@ -0,0 +1,36 @@ +name: Nightly Test Run + +on: + schedule: # UTC at 0400 + - cron: '0 4 * * *' + workflow_dispatch: + +jobs: + test: + name: Unit Testing + runs-on: ${{ matrix.os }} + strategy: + matrix: + os: [windows-latest, ubuntu-latest] + python-version: ['3.7', '3.8', '3.9', '3.10'] + fail-fast: false + + steps: + - uses: actions/checkout@v3 + + - name: Set up Python ${{ matrix.python-version }} + uses: actions/setup-python@v4 + with: + python-version: ${{ matrix.python-version }} + + - name: Install OS packages + if: matrix.os == 'ubuntu-latest' + run: | + sudo apt update + sudo apt install libegl1 + + - name: Install pyfluent-visualization + run: make install + + - name: Test with pytest + run: make unittest