Add a GitHub Action to run basic tests #1
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: Test Omniwatch | |
on: [push] | |
jobs: | |
test: | |
name: Test Omniwatch integration | |
runs-on: ubuntu:22.04 | |
steps: | |
- name: Check out repository code | |
uses: actions/checkout@v4 | |
- name: Install pytest | |
run: sudo apt-get install -y python3-pytest | |
- name: Start containerized environment | |
run: docker compose -f test/docker/slurm/compose.yaml up -d --wait | |
- name: Run tests | |
run: pytest-3 -v test |