Poetry run #368
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
name: Poetry run | |
on: | |
schedule: | |
- cron: 0 9 * * * | |
# Manually triggerable in github | |
workflow_dispatch: | |
jobs: | |
poetry_run: | |
runs-on: ${{matrix.os}} | |
strategy: | |
fail-fast: false | |
matrix: | |
os: [ubuntu-20.04, windows-latest, macos-latest] | |
python-version: [3.6, 3.7, 3.8, 3.9, 3.10] | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v2 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- uses: Gr1N/setup-poetry@v8 | |
with: | |
poetry-version: 1.1.7 | |
- name: install libomp for MacOS | |
if: ${{ matrix.os == 'macos-latest' }} | |
run: brew install libomp | |
- name: poetry resolves dependecies | |
run: | | |
poetry run python scripts/poetry_fix.py -c | |
poetry lock | |
poetry install -E all |