Skip to content

Merge branch 'main' of https://github.com/Rafsan7238/COMP90024_Assign… #14

Merge branch 'main' of https://github.com/Rafsan7238/COMP90024_Assign…

Merge branch 'main' of https://github.com/Rafsan7238/COMP90024_Assign… #14

Workflow file for this run

name: Python Tests
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ['3.10']
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install pytest
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
- name: Run tests
run: |
pytest test/fission_tests.py