Skip to content

Ignore currently running backup for SLA calculation #252

Ignore currently running backup for SLA calculation

Ignore currently running backup for SLA calculation #252

Workflow file for this run

# This workflow will install Python dependencies, run tests and lint with a single version of Python
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions
name: Python application
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
check-poetry:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install poetry
run: pipx install poetry
- name: Set up Python 3.10
uses: actions/setup-python@v4
with:
python-version: '3.10'
cache: 'poetry'
- name: Install dependencies
run: |
sudo apt-get update
sudo apt-get install liblzo2-dev
poetry install
- name: Test with pytest
run: |
poetry run pytest
check-nix:
runs-on: ubuntu-latest
steps:
- name: git checkout
uses: actions/checkout@v3
- name: Install Nix
uses: DeterminateSystems/nix-installer-action@main
- uses: DeterminateSystems/magic-nix-cache-action@main
with:
fail-mode: true
- name: check flake
run: |
nix run
nix flake check -L
- name: check 23.05
run: |
nix run --override-input nixpkgs github:NixOS/nixpkgs/nixos-23.05 \
--override-input poetry2nix github:nix-community/poetry2nix/1.41.0