Fix default values for ProjectData
timeout
and deadline
to units of days
#113
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 - Integration" | |
on: | |
pull_request: | |
branches: | |
- main | |
push: | |
branches: | |
- main | |
schedule: | |
# At 07:00 UTC on Monday and Thursday. | |
- cron: "0 7 * * 1,4" | |
concurrency: | |
group: "${{ github.workflow }}-${{ github.ref }}" | |
cancel-in-progress: true | |
defaults: | |
run: | |
shell: bash -l {0} | |
jobs: | |
tests: | |
runs-on: ${{ matrix.OS }}-latest | |
name: "tests" | |
strategy: | |
fail-fast: false | |
matrix: | |
os: ['ubuntu'] | |
python-version: | |
- "3.10" | |
- "3.11" | |
- "3.12" | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: mamba-org/setup-micromamba@v1 | |
with: | |
create-args: >- | |
python=${{ matrix.python-version }} | |
environment-file: devtools/conda-envs/test.yml | |
- name: "Install" | |
run: python -m pip install --no-deps -e . | |
- name: "Environment Information" | |
run: | | |
micromamba info -a | |
micromamba list | |
- name: "Run tests" | |
run: | | |
pytest -v --cov=alchemiscale_fah --cov-report=xml alchemiscale_fah/tests | |
- name: codecov | |
if: ${{ github.repository == 'openforcefield/alchemiscale-fah' | |
&& github.event != 'schedule' }} | |
uses: codecov/codecov-action@v2 | |
with: | |
file: coverage.xml | |
fail_ci_if_error: False | |
verbose: True |