Skip to content

added a GitHub action to run unit tests automatically on code push #293

added a GitHub action to run unit tests automatically on code push

added a GitHub action to run unit tests automatically on code push #293

Workflow file for this run

name: Continuous Integration
on: [push]
jobs:
  build:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v2
      - name: Set up Python
        uses: actions/setup-python@v2
        with:
          python-version: 3.12.0
          architecture: x64
      - name: Install dependencies

Check failure on line 13 in .github/workflows/unittests.yaml

View workflow run for this annotation

GitHub Actions / .github/workflows/unittests.yaml

Invalid workflow file

You have an error in your yaml syntax on line 13
        run: pip install -r requirements.txt
      - name: Run Tests
        run: python -m pytest