GitHub Actions Workflow Status #5
This file contains hidden or 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
# .github/workflows/test01.yaml | |
name: test01 | |
on: | |
workflow_dispatch: | |
jobs: | |
test01: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out this repo | |
uses: actions/checkout@v3 | |
#Setup Python | |
- name: Set up Python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: '3.10' | |
# - name: Install chrome | |
# run: wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb | |
- name: Install the necessary packages | |
run: | | |
python -m pip install --upgrade pip | |
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi | |
- name: Run the PytTest script | |
run: pytest -rA |