SCHED-406: Done cleaning up GreedyMax. #624
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: Run tests | |
on: push | |
jobs: | |
pytest: | |
runs-on: ubuntu-latest | |
timeout-minutes: 10 | |
steps: | |
- name: Check out repository code | |
uses: actions/checkout@v2 | |
# Setup Python (faster than using Python container) | |
- name: Setup Python | |
uses: actions/setup-python@v2 | |
with: | |
python-version: "3.10" | |
- name: Install dependencies | |
run: | | |
# $CONDA is an environment variable pointing to the root of the miniconda directory | |
$CONDA/bin/conda env update --file environment.yml --name base | |
- name: Add $PYTHONPATH | |
run: | | |
echo "PYTHONPATH=/home/runner/work/scheduler/scheduler" >> $GITHUB_ENV | |
- name: Generate Report | |
run: | | |
$CONDA/bin/coverage run -m pytest | |
$CONDA/bin/coverage xml | |
- name: Upload Coverage to Codecov | |
uses: codecov/codecov-action@v2 | |