bug_fix #9
Workflow file for this run
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: ci-cd | |
on: | |
pull_request: | |
branches: | |
- main | |
jobs: | |
ci: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Set up Python 3.10.6 | |
uses: actions/setup-python@v5 | |
with: | |
python-version: 3.10.6 | |
- name: Check-out repository | |
uses: actions/checkout@v4 | |
- name: Set up Git authentication | |
run: git config --global url."https://${{ secrets.PAT_TOKEN }}@github.com/".insteadOf "https://github.com/" | |
- name: Install dependencies | |
env: | |
PAT_TOKEN: ${{ secrets.PAT_TOKEN }} | |
run: | | |
python -m pip install --upgrade pip | |
curl -sSL https://install.python-poetry.org | python3 - | |
python -m pip install . | |
- name: Print current directory | |
run: | | |
pwd | |
ls -la | |
- name: Run tests | |
run: | | |
cd ./tests/ | |
python -m unittest output_test.py |