Skip to content

Commit

Permalink
last
Browse files Browse the repository at this point in the history
  • Loading branch information
Malinhara committed Jul 8, 2024
1 parent acbf40d commit 972b4e6
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 22 deletions.
37 changes: 15 additions & 22 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,30 +8,23 @@ on:
jobs:
build-and-test:
runs-on: ubuntu-latest

steps:
- name: Checkout repository
uses: actions/checkout@v2

- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: 3.9 # Adjust Python version as needed
- name: Checkout repository
uses: actions/checkout@v2

- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: 3.12

- name: Install pytest
run: |
python -m pip install pytest
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: Run tests and capture output
run: |
pytest test/ > test_output.txt
cat test_output.txt # Print the captured output
- name: Install pytest
run: |
python -m pip install pytest
- name: Print part (test)
run: |
echo "Printing part (test)"
- name: Run tests
run: python script.py
File renamed without changes.

0 comments on commit 972b4e6

Please sign in to comment.