chore: update build workflow #489
This file contains hidden or 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: Test | |
| on: [push] | |
| jobs: | |
| Test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v3 | |
| - name: install poetry | |
| run: pipx install poetry | |
| - uses: actions/setup-python@v4 | |
| with: | |
| python-version: '3.10' | |
| cache: 'poetry' | |
| - name: install dependencies | |
| run: sudo apt-get install libglx-mesa0 libgl1 | |
| - name: Install dependencies | |
| run: | | |
| poetry check | |
| poetry lock | |
| poetry install --verbose | |
| - run: poetry run python lw_report_gen.py --author Author --customer Customer | |
| env: | |
| LW_ACCOUNT: ${{ secrets.LW_ACCOUNT }} | |
| LW_SUBACCOUNT: ${{ secrets.LW_SUBACCOUNT }} | |
| LW_API_KEY: ${{ secrets.LW_API_KEY }} | |
| LW_API_SECRET: ${{ secrets.LW_API_SECRET }} | |
| LOGLEVEL: WARNING |