fixed virus ratio and github user count facts #70
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: run-unit-test | |
on: | |
pull_request: | |
branches: | |
- main | |
- development | |
jobs: | |
build: | |
runs-on: self-hosted | |
container: python:3.10.4 | |
steps: | |
- run: echo "🎉 The job was automatically triggered by a ${{ github.event_name }}" | |
- name: Checkout | |
uses: actions/checkout@v2 | |
with: | |
fetch-depth: 0 | |
- name: Switch to Current Branch | |
run: git checkout ${{ env.BRANCH }} | |
- name: Set up Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v1 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip | |
pip install -r dev_requirements.txt | |
- name: Run unit tests | |
run: python -m pytest |