Add new generator configuration fields #297
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: Run Tests | |
| on: | |
| push: | |
| branches: [ main ] | |
| pull_request: | |
| branches: [ main ] | |
| jobs: | |
| test: | |
| runs-on: ubuntu-22.04 | |
| steps: | |
| - uses: actions/checkout@v3 | |
| - name: Set up Python | |
| uses: actions/setup-python@v4 | |
| with: | |
| python-version: '3.9' | |
| - name: Install Poetry | |
| uses: snok/install-poetry@v1 | |
| with: | |
| version: 1.5.1 | |
| - name: Install dependencies | |
| run: | | |
| poetry install --with dev | |
| - name: Install FFmpeg | |
| run: | | |
| sudo apt-get update | |
| sudo apt-get install --no-install-recommends -y ffmpeg | |
| - name: Run tests | |
| env: | |
| TEXTUAL_HOST: ${{ vars.TEXTUAL_HOST }} | |
| TEXTUAL_API_KEY: ${{ secrets.TEXTUAL_API_KEY }} | |
| S3_UPLOAD_ACCESS_KEY: ${{ secrets.S3_UPLOAD_ACCESS_KEY }} | |
| S3_UPLOAD_SECRET_KEY: ${{ secrets.S3_UPLOAD_SECRET_KEY }} | |
| AWS_DEFAULT_REGION: ${{ secrets.AWS_DEFAULT_REGION }} | |
| AZURE_ACCOUNT_KEY: ${{ secrets.AZURE_ACCOUNT_KEY }} | |
| AZURE_ACCOUNT_NAME: ${{ secrets.AZURE_ACCOUNT_NAME }} | |
| DATABRICKS_URL: ${{ secrets.DATABRICKS_URL }} | |
| DATABRICKS_ACCESS_TOKEN: ${{ secrets.DATABRICKS_ACCESS_TOKEN }} | |
| S3_UPLOAD_BUCKET: ${{ secrets.S3_UPLOAD_BUCKET }} | |
| S3_OUTPUT_BUCKET: ${{ secrets.S3_OUTPUT_BUCKET }} | |
| S3_KMS_KEY_ARN: ${{ secrets.S3_KMS_KEY_ARN }} | |
| run: | | |
| poetry run pytest |