diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 358dfe6..f1bb59d 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -1,4 +1,4 @@ -name: Run Tests on Merge +name: Run Tests on Self-Hosted Runner on: push: @@ -12,21 +12,20 @@ on: jobs: test: - runs-on: ubuntu-latest # Use GitHub's free Ubuntu runner + runs-on: self-hosted + + strategy: + matrix: + python-version: ["3.8"] + steps: - name: Checkout Repository uses: actions/checkout@v3 - - name: Set up Python + - name: Set up Python ${{ matrix.python-version }} uses: actions/setup-python@v4 with: - python-version: '3.10' # Change this if you're using a different Python version + python-version: ${{ matrix.python-version }} - name: Install Dependencies - run: | - pip install --upgrade pip - pip install pytest - if [ -f requirements.txt ]; then pip install -r requirements.txt; fi # Install dependencies if a requirements.txt exists - - - name: Run Tests - run: pytest tests/ + run: