Add possibility to define access_token and expiration timestamp in env and credentials file #543
Workflow file for this run
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: main | |
| on: | |
| pull_request: | |
| branch: | |
| - master | |
| jobs: | |
| build: | |
| runs-on: ubuntu-22.04 | |
| strategy: | |
| max-parallel: 4 | |
| matrix: | |
| python-version: ['3.10', '3.11', '3.12', '3.13'] | |
| steps: | |
| - uses: actions/checkout@v2 | |
| - name: Set up Python ${{ matrix.python-version }} | |
| uses: actions/setup-python@v4 | |
| with: | |
| python-version: ${{ matrix.python-version }} | |
| - name: Install uv | |
| run: | | |
| curl -Ls https://astral.sh/uv/install.sh | sh | |
| echo "$HOME/.cargo/bin" >> $GITHUB_PATH | |
| - name: Create virtual environment and install dependencies | |
| run: | | |
| uv venv | |
| source .venv/bin/activate | |
| uv pip install -e ".[dev]" | |
| - name: Lint | |
| continue-on-error: true | |
| run: | | |
| source .venv/bin/activate | |
| make lint | |
| - name: Start prism | |
| run: | | |
| make prism-start | |
| sleep 3 | |
| - name: Run tests | |
| run: | | |
| source .venv/bin/activate | |
| docker logs -f $(cat /tmp/prism.cid) & | |
| tox -r -e py | |
| kill %1 | |
| make prism-stop |