Skip to content

Commit

Permalink
Add pytest workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
ctmbl committed Mar 18, 2024
1 parent 8891573 commit cba2247
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/pytest.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: Pytest

on:
# Runs on pull requests to check that the website is building without errors
pull_request:

# Only run if the push to main
push:
branches:
- main

# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:

jobs:
# Build job
build:
runs-on: ubuntu-latest
steps:
# Checkout repo
- name: 🛒 Checkout
uses: actions/checkout@v3

# Install pytest
- name: 🛠️ Install pytest
run: |
apt install pytest
# Run tests
- name: 🚀 Run pyts=est
run: |
cd ./scripts/
pytest

0 comments on commit cba2247

Please sign in to comment.