Skip to content

Create Sub.py

Create Sub.py #36

Workflow file for this run

name: My First GitHub Actions

Check failure on line 2 in .github/workflows/first-actions.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/first-actions.yml

Invalid workflow file

You have an error in your yaml syntax on line 2
on: [push] [pull]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.8, 3.9]
steps:
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install pytest
- name: Run tests
run: |
cd src
python -m pytest addition.py