diff --git a/.github/workflows/pytest.yml b/.github/workflows/pytest.yml new file mode 100644 index 0000000..74f1290 --- /dev/null +++ b/.github/workflows/pytest.yml @@ -0,0 +1,19 @@ +name: Run Pytest in Dev Container +# This workflow runs Pytest inside a Dev Container + +on: + push: + branches: [main] + pull_request: + branches: [main] + +jobs: + test: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + + - name: Run inside Dev Container + uses: devcontainers/ci@v0.3 + with: + runCmd: pytest \ No newline at end of file