Merge pull request #11 from sunbeam-labs/10-fix-renaming-workflow-per… #53
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: Tests | |
on: | |
pull_request: | |
branches: [ master, main ] | |
push: | |
branches: [ master, main ] | |
schedule: | |
- cron: "0 13 * * 1" | |
jobs: | |
test-e2e: | |
name: Test Extension with Sunbeam | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Code | |
uses: actions/checkout@v3 | |
- name: Test with Sunbeam | |
uses: sunbeam-labs/sbx_test_action@v1 | |
test-units: | |
name: Run Unittests | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Code | |
uses: actions/checkout@v3 | |
- name: Install Dependencies | |
run: python -m pip install pytest | |
# TODO: Add demo unit tests | |
#- name: Run Tests | |
# run: pytest .tests/unit/ |