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 c4a99c1 commit acbf40d
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 25 deletions.
51 changes: 26 additions & 25 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,29 +8,30 @@ 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.12

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

0 comments on commit acbf40d

Please sign in to comment.