Skip to content

Improve new_article.py script #2

Improve new_article.py script

Improve new_article.py script #2

Workflow file for this run

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: |
sudo apt-get install pytest
# Run tests
- name: 🚀 Run pyts=est
run: |
cd ./scripts/
pytest