Skip to content

Commit

Permalink
adds CI unit tests job
Browse files Browse the repository at this point in the history
  • Loading branch information
salotz committed Sep 3, 2023
1 parent df6e8cf commit f62bb7a
Showing 1 changed file with 20 additions and 3 deletions.
23 changes: 20 additions & 3 deletions .github/workflows/qa.yaml
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
name: Test
name: Quality Checks

on: push

permissions:
contents: read

jobs:
build:
validate:

runs-on: ubuntu-latest

Expand All @@ -16,9 +16,26 @@ jobs:
uses: actions/setup-python@v3
with:
python-version: "3.10"
- name: Install dependencies
- name: Install tools
run: |
python -m pip install --upgrade pip
pip install nox
- name: Static analysis
run: python -m nox -s validate

test:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v3
with:
python-version: "3.10"
- name: Install tools
run: |
python -m pip install --upgrade pip
pip install nox
- name: Unit Tests
run: python -m nox -s tests_unit

0 comments on commit f62bb7a

Please sign in to comment.