Add multiple process add test #143
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
# This workflow will install Python dependencies, run tests and lint with a single version of Python | |
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions | |
name: Simvue Client (Python Versions) | |
on: | |
push: | |
branches: [ "main", "dev", "hotfix/update-ci" ] | |
pull_request: | |
branches: [ "main", "dev", "hotfix/update-ci" ] | |
permissions: | |
contents: read | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
timeout-minutes: 20 | |
strategy: | |
matrix: | |
python-version: ['3.9', '3.10', '3.11'] | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v3 | |
with: | |
python-version: "${{ matrix.python-version }}" | |
- name: Install dependencies | |
run: python -m pip install poetry | |
- name: Test with pytest | |
run: | | |
export SIMVUE_URL=${{ secrets.SIMVUE_URL }} | |
export SIMVUE_TOKEN=${{ secrets.SIMVUE_TOKEN }} | |
poetry install --all-extras | |
poetry run pytest tests/unit/ tests/refactor/ -m 'not scenario' |