Added test action
This commit is contained in:
@@ -23,4 +23,21 @@ jobs:
|
||||
run: python3.12 -m pip install black
|
||||
|
||||
- name: Checking black
|
||||
run: python3.12 -m black src --check
|
||||
run: python3.12 -m black src --check
|
||||
|
||||
test:
|
||||
runs-on: [ runner ]
|
||||
container: git.sh-edraft.de/sh-edraft.de/act-runner:latest
|
||||
steps:
|
||||
- name: Clone Repository
|
||||
uses: https://github.com/actions/checkout@v3
|
||||
with:
|
||||
token: ${{ secrets.CI_ACCESS_TOKEN }}
|
||||
|
||||
- name: Setting up Python 3.12
|
||||
run: |
|
||||
python3.12 -m pip install -r src/requirements-dev.txt
|
||||
|
||||
- name: Testing with pytest
|
||||
run: |
|
||||
python3.12 -m pytest
|
||||
Reference in New Issue
Block a user