Skip to content

Commit

Permalink
Add automated test workflow for PRs and push (#15)
Browse files Browse the repository at this point in the history
* Create run-tests.yml

Add automated test workflow for PRs and push

* Update run-tests.yml

use python 3.12

* set pytest run to show skipped tests on auto test
  • Loading branch information
egrace479 authored Jul 29, 2024
1 parent cd5eac8 commit 9da8f67
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: run-tests

on:
pull_request:
push:

jobs:
run-tests:
runs-on: ubuntu-latest

steps:
- name: Checkout repository
uses: actions/checkout@v4

- uses: actions/setup-python@v5
with:
python-version: '3.12'

- name: install dependencies
run: pip install .
shell: bash

- name: install pytest
run: pip install pytest
shell: bash

- name: run test
run: pytest -rs
shell: bash

0 comments on commit 9da8f67

Please sign in to comment.