Skip to content

Automated Github action for Unittests - JeremyBrent #9

Automated Github action for Unittests - JeremyBrent

Automated Github action for Unittests - JeremyBrent #9

Workflow file for this run

name: Unittests
run-name: Automated Github action for Unittests - ${{ github.actor }}
on:
pull_request
jobs:
unittests:
runs-on: ubuntu-latest
steps:
- run: echo "🎉 The job was automatically triggered by a ${{ github.event_name }} event."
- run: echo "🐧 This job is now running on a ${{ runner.os }} server in ${{ runner.workspace}}!"
- name: Check out code
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version-file: '.python-version'
- name: Install dependencies
run: |
pip install -r requirements.txt
- name: Run tests
run: |
python -m unittest discover -s tests