Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
Mews committed Jun 12, 2024
1 parent 08c2536 commit 1e0ff2d
Showing 1 changed file with 5 additions and 31 deletions.
36 changes: 5 additions & 31 deletions .github/workflows/run_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,35 +9,9 @@ on:
pull_request:
branches: [ "main" ]

permissions:
contents: write

jobs:
build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4

- name: Set up Python 3.10
uses: actions/setup-python@v5
with:
python-version: "3.10"
cache: 'pip'

- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
pip install pytest
- name: Run tests
run: |
coverage run -m pytest -v tests
- name: Coverage comment
id: coverage_comment
uses: py-cov-action/python-coverage-comment-action@v3
with:
GITHUB_TOKEN: ${{ github.token }}
call-run-python-tests:
uses: Mews/.github/workflows/run-python-tests.yaml@main
with:
python_versions: '["3.10", "3.11", "3.12"]'
os_list: '["ubuntu-latest", "windows-latest"]'

0 comments on commit 1e0ff2d

Please sign in to comment.