Skip to content

Commit

Permalink
test workflow (#36)
Browse files Browse the repository at this point in the history
* added github testint workflow

* testing failing pipeline

* added required pass of workflow on pr to main

* dont run test twice for main merge

* tests only run on pr to main

* updated comments
  • Loading branch information
Mopsgeschwindigkeit authored Oct 24, 2023
1 parent e9656db commit 661e3c6
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/run_tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
# This workflow runs the project tests.
# This workflow is only executed on PR's to the main branch.

# This workflow uses actions that are not certified by GitHub.
# They are provided by a third-party and are governed by
# separate terms of service, privacy policy, and support
# documentation.

name: Test
on:
pull_request:
branches:
- main

jobs:
tests:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Install
run: |
python -m pip install --upgrade pip
pip install tox
- name: Run Tests
run : tox

0 comments on commit 661e3c6

Please sign in to comment.