Bumps [actions/checkout](https://github.com/actions/checkout) from 3 to 5. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/v3...v5) --- updated-dependencies: - dependency-name: actions/checkout dependency-version: '5' dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
43 lines
1.2 KiB
YAML
43 lines
1.2 KiB
YAML
name: Integration tests
|
|
|
|
on: # yamllint disable-line rule:truthy
|
|
push:
|
|
branches: ["main"]
|
|
pull_request:
|
|
branches: ["main"]
|
|
merge_group:
|
|
types: ["checks_requested"]
|
|
|
|
jobs:
|
|
lint:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Update apt repositories
|
|
run: sudo apt update
|
|
- name: Install lint dependencies
|
|
run: sudo apt install -y yamllint aspell pre-commit
|
|
- name: Install project dependencies
|
|
run: sudo apt install -y libgpgme-dev libbtrfs-dev
|
|
- name: "Clone Repository"
|
|
uses: actions/checkout@v5
|
|
- name: Set up Python
|
|
uses: actions/setup-python@v5
|
|
- name: Run linters
|
|
run: make lint
|
|
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v5
|
|
- uses: ./.github/actions/testdeps
|
|
- name: Install integration test env
|
|
run: |
|
|
sudo apt update
|
|
sudo apt install -y python3-pytest golang
|
|
- name: Install cross build dependencies
|
|
run: sudo apt install -y qemu-user-static
|
|
|
|
- name: Run integration tests via pytest
|
|
run: |
|
|
# use "-s" for now for easier debugging
|
|
sudo pytest -s -v
|