diff --git a/.github/workflows/python-app.yml b/.github/workflows/python-app.yml index 6b70fdb..d1a5540 100644 --- a/.github/workflows/python-app.yml +++ b/.github/workflows/python-app.yml @@ -8,26 +8,28 @@ on: branches: [ main, test ] pull_request: branches: [ main, test ] - schedule: - - cron: '0 6 * * *' jobs: build: - - runs-on: ubuntu-latest - + runs-on: ${{ matrix.os }} + strategy: + matrix: + python-version: [ "3.7", "3.8" ] + os: [ windows-latest, ubuntu-latest ] steps: - uses: actions/checkout@v2 - - name: Set up Python 3.10 + - name: Set up Python ${{ matrix.python-version }} uses: actions/setup-python@v2 with: - python-version: "3.10" + python-version: ${{ matrix.python-version }} - name: Install dependencies run: | python -m pip install --upgrade pip pip install flake8 pytest pip install -r requirements_dev.txt + - name: Install the application + run: | pip install -e . - name: Lint with flake8 run: |