Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade poetry to 1.2 #43

Merged
merged 17 commits into from
Sep 1, 2022
Merged
12 changes: 6 additions & 6 deletions .github/codecov.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
codecov:
require_ci_to_pass: yes
require_ci_to_pass: true

coverage:
precision: 2
Expand All @@ -9,12 +9,12 @@ coverage:
parsers:
gcov:
branch_detection:
conditional: yes
loop: yes
method: no
macro: no
conditional: true
loop: true
method: false
macro: false

comment:
layout: "reach,diff,flags,files,footer"
behavior: default
require_changes: no
require_changes: false
13 changes: 9 additions & 4 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
name: Sending Build

# yamllint disable-line rule:truthy
on:
push:
branches:
Expand All @@ -21,12 +22,14 @@ jobs:
uses: daisylb/setup-nox@v2.1.0
- name: Setup poetry
uses: Gr1N/setup-poetry@v7
with:
poetry-version: 1.2.0
- name: Install dependencies
run: |
sudo apt-get update
sudo apt-get install libzmq3-dev
poetry export -f requirements.txt --without-hashes --dev > /tmp/requirements.txt
pip install --constraint=/tmp/requirements.txt nox_poetry
poetry export -f requirements.txt --extras "all" --without-hashes --with dev --output requirements.txt
pip install -r requirements.txt
- name: Setup Redis
uses: ./.github/actions/setup-redis
- name: Run tests
Expand All @@ -44,9 +47,11 @@ jobs:
uses: daisylb/setup-nox@v2.1.0
- name: Setup poetry
uses: Gr1N/setup-poetry@v7
with:
poetry-version: 1.2.0
- name: Install dependencies
run: |
poetry export -f requirements.txt --without-hashes --dev > /tmp/requirements.txt
pip install --constraint=/tmp/requirements.txt nox_poetry
poetry export -f requirements.txt --extras "all" --without-hashes --with dev --output requirements.txt
pip install -r requirements.txt
- name: Run lint
run: nox -s lint
1 change: 1 addition & 0 deletions .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
name: Publish Python Package
# yamllint disable-line rule:truthy
on:
push:
tags:
Expand Down
Loading