adding supercloud to machines for kill_jobs #275
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: CI | |
on: [push, pull_request] | |
jobs: | |
CI: | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
shell: bash -l {0} | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: conda-incubator/setup-miniconda@v3 | |
with: | |
activate-environment: test | |
python-version: 3.8 | |
- name: Conda info | |
run: | | |
conda env update -n test -f tools/conda_envs/jobmanager.yaml | |
conda info | |
conda list | |
- name: Install package | |
run: | | |
pip install -e ".[tests]" | |
- name: Run tests | |
run: | | |
pytest --cov=jobmanager --cov-report=xml | |
- name: Upload coverage to Codecov | |
uses: codecov/codecov-action@v4 | |
with: | |
files: ./coverage.xml | |
verbose: true | |
env: | |
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} |