This repository has been archived by the owner on Dec 2, 2024. It is now read-only.
Merge pull request #36 from meower-community/async-cl3 #58
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This workflow will install Python dependencies, run tests and lint with a variety of Python versions | |
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python | |
name: Python package | |
on: | |
push: | |
branches: ["master"] | |
pull_request: | |
branches: ["master"] | |
jobs: | |
build: | |
runs-on: windows-latest | |
strategy: | |
matrix: | |
python-version: ["3.8","3.9","3.10","3.11"] | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
- name: Set up Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v4 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Install Poetry | |
uses: snok/install-poetry@v1 | |
with: | |
version: latest | |
virtualenvs-create: true | |
virtualenvs-in-project: true | |
- name: Install Dependencies | |
run: | | |
#assume im in the Venv | |
C:\Users\runneradmin\.local\bin\poetry.exe install --no-interaction | |
$act | |
- name: Run Tests | |
run: | | |
C:\Users\runneradmin\.local\bin\poetry.exe run python -m unittest discover -s tests | |
- name: Run Linter | |
run: | | |
C:\Users\runneradmin\.local\bin\poetry.exe run bandit -r . |