This repository has been archived by the owner on Aug 28, 2024. It is now read-only.
🔧 QoL Configuration #5
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
name: Build and Test | |
on: | |
pull_request: | |
branches: | |
- main | |
permissions: {} | |
jobs: | |
build: | |
name: Build and Test | |
runs-on: ubuntu-latest | |
permissions: | |
contents: read | |
steps: | |
- name: Checkout | |
id: checkout | |
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 | |
- name: Build Image | |
id: build_image | |
uses: docker/build-push-action@4a13e500e55cf31b7a5d59a38ab2040ab0f42f56 # v5.1.0 | |
with: | |
push: false | |
load: true | |
tags: dashboard | |
- name: Run Python Tests | |
id: run_python_tests | |
run: | | |
docker compose --file contrib/docker-compose-test.yml run --rm interfaces | |
env: | |
NETWORK: default | |
IMAGE_TAG: dashboard |