Skip to content

Commit

Permalink
add github workflow tests
Browse files Browse the repository at this point in the history
  • Loading branch information
RLKRo committed Mar 4, 2024
1 parent 0e6c6df commit a89c3dd
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: test

on:
push:
branches:
- main
pull_request:
branches:
- main

jobs:
run_tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- name: set up python 3.8
uses: actions/setup-python@v5
with:
python-version: 3.8

- name: install dependencies
run: (cd services/bot && pip install -r requirements.txt)

- name: run pytest
run: (cd services/bot && pytest test.py)

0 comments on commit a89c3dd

Please sign in to comment.