Skip to content

Commit

Permalink
[fix] hashes
Browse files Browse the repository at this point in the history
  • Loading branch information
8baller committed May 12, 2023
1 parent 9207bd4 commit f39b632
Showing 1 changed file with 49 additions and 0 deletions.
49 changes: 49 additions & 0 deletions .github/workflows/common_checks.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
➤ cat .github/workflows/common_check.yaml
# This is a basic workflow to help you get started with Actions

name: Code Quality
# Controls when the action will run.
on:
# Triggers the workflow on push or pull request events but only for the master branch
push:
branches: [ master, main ]
pull_request:
branches: [ master, main ]

workflow_dispatch:

jobs:
check:
strategy:
fail-fast: false
matrix:
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11"]
poetry-version: ["1.3.2"]
os: [ubuntu-20.04,]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install and configure Poetry
uses: snok/install-poetry@v1
with:
version: ${{ matrix.poetry-version }}
virtualenvs-create: true
virtualenvs-in-project: false
virtualenvs-path: ~/my-custom-path
installer-parallel: true

- name: Install
run: |
poetry install -v
- name: Lint
run: |
poetry run adev lint -p .
- name: Tests
run: |
poetry run adev test -p .

0 comments on commit f39b632

Please sign in to comment.