Validate command classes on demand, with specific validation for each type of effect #174
Workflow file for this run
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: Build and Test | |
on: | |
pull_request: | |
branches: ["main"] | |
workflow_call: | |
workflow_dispatch: | |
jobs: | |
build-and-test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: ./.github/actions/install-python-and-poetry | |
- name: Install canvas-plugins | |
shell: bash | |
run: poetry install --no-interaction | |
# Run Pytest via Poetry. | |
- name: Run Pytest | |
env: | |
INTEGRATION_TEST_URL: "https://plugin-testing.canvasmedical.com" | |
INTEGRATION_TEST_CLIENT_ID: ${{ secrets.INTEGRATION_TEST_CLIENT_ID }} | |
INTEGRATION_TEST_CLIENT_SECRET: ${{ secrets.INTEGRATION_TEST_CLIENT_SECRET }} | |
run: poetry run pytest --ff --verbosity 2 |