Skip to content

Commit

Permalink
Merge pull request #48 from wikimedia-pl/add/ci-pytest
Browse files Browse the repository at this point in the history
Create python-test.yml for the CI
  • Loading branch information
macbre authored Nov 20, 2024
2 parents 2ebbce1 + d8b381d commit a65a5c3
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/python-test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Test the Python code

on:
push:
branches: [ "master" ]
pull_request:

permissions:
contents: read

jobs:
test:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v3
with:
python-version: "3.13"
- name: Install dependencies
run: |
pip install -r requirements.txt
- name: Test with pytest
run: |
pytest -vv .

0 comments on commit a65a5c3

Please sign in to comment.