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

Update test-suite.yml #116

Update test-suite.yml

Update test-suite.yml #116

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"
- uses: "actions/setup-python@v2"
with:
python-version: "${{ matrix.python-version }}"
- name: "Install Poetry"
run: |
"python -m pip install poetry"
"poetry lock --no-update"
- name: "Install dependencies"
run: "python -m poetry install"
- name: "Run tests"
run: "python -m poetry run pytest --cov=leetcomp"