Merge pull request #93 from Chandra158/fix-build #43
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This workflow will install Python dependencies, run tests and lint with a variety of Python versions | |
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python | |
name: fuzz-lightyear-build | |
on: | |
push: | |
branches: [ "master" ] | |
pull_request: | |
workflow_dispatch: | |
schedule: | |
- cron: '0 0 1 * *' | |
jobs: | |
build: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
fail-fast: false | |
matrix: | |
os: [ubuntu-latest, macos-latest, windows-latest] | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v3 | |
with: | |
# tests.result_test.test_successful_sequence is flaky in GA's version of python (3.8.17) | |
# fixing to current python version of devbox | |
# also, 3.8.13 is not available for platform==win32; so setting a range | |
python-version: '>=3.8.10 <=3.8.13' | |
- name: Install dependencies and test | |
run: | | |
python -m pip install --upgrade pip setuptools tox virtualenv | |
tox |