Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 27 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: CI

on:
push:
branches: ["main"]
pull_request:

jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

# TODO 1: Add a step to set up Python 3.11.
# Use: actions/setup-python@v5 with python-version: "3.11"
- uses: actions/setup-python@v5
with:
python-version: "3.11"

# TODO 2: Add a step to install pytest.
# Use: pip install pytest
- name: Install pytest
run: pip install pytest
# TODO 3: Add a step to run pytest.
# Use: pytest -q
- name: Run tests
run: pytest -q
8 changes: 7 additions & 1 deletion data-track/week-5/exercise_5/.github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,15 @@ jobs:

# TODO 1: Add a step to set up Python 3.11.
# Use: actions/setup-python@v5 with python-version: "3.11"
- uses: actions/setup-python@v5
with:
python-version: "3.11"

# TODO 2: Add a step to install pytest.
# Use: pip install pytest

- name: Install pytest
run: pip install pytest
# TODO 3: Add a step to run pytest.
# Use: pytest -q
- name: Run tests
run: pytest -q