Skip to content
This repository has been archived by the owner on Jun 23, 2024. It is now read-only.

Update test-suite.yml #119

Update test-suite.yml

Update test-suite.yml #119

Workflow file for this run

name: Test Suite
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
tests:
name: Python ${{ matrix.python-version }}
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.9]
fail-fast: false
steps:
- uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Install Poetry
run: |
python -m pip install --upgrade pip
pip install poetry
- name: Install dependencies
run: |
poetry lock --no-update
poetry install
- name: Run tests
run: poetry run pytest --cov=leetcomp