-
Notifications
You must be signed in to change notification settings - Fork 902
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into simulation_examples_with_flower_datasets
- Loading branch information
Showing
19 changed files
with
795 additions
and
25 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
name: Datasets | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
pull_request: | ||
branches: | ||
- main | ||
|
||
concurrency: | ||
group: ${{ github.workflow }}-${{ github.ref == 'refs/heads/main' && github.run_id || github.event.pull_request.number || github.ref }} | ||
cancel-in-progress: true | ||
|
||
defaults: | ||
run: | ||
working-directory: datasets | ||
|
||
jobs: | ||
test_core: | ||
runs-on: ubuntu-22.04 | ||
strategy: | ||
matrix: | ||
# Latest version which comes cached in the host image can be found here: | ||
# https://github.com/actions/runner-images/blob/main/images/linux/Ubuntu2204-Readme.md#python | ||
# In case of a mismatch, the job has to download Python to install it. | ||
# Note: Due to a bug in actions/setup-python we have to put 3.10 in | ||
# qoutes as it will otherwise will assume 3.1 | ||
python: [3.8, 3.9, '3.10'] | ||
|
||
name: Python ${{ matrix.python }} | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Bootstrap | ||
uses: ./.github/actions/bootstrap | ||
with: | ||
python-version: ${{ matrix.python }} | ||
- name: Install dependencies (mandatory only) | ||
run: python -m poetry install --all-extras | ||
- name: Test (formatting + unit tests) | ||
run: ./dev/test.sh |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
name: Release nightly | ||
|
||
on: | ||
schedule: | ||
- cron: "0 23 * * *" | ||
|
||
env: | ||
FLWR_TELEMETRY_ENABLED: 0 | ||
|
||
jobs: | ||
release_nightly: | ||
runs-on: ubuntu-22.04 | ||
name: Nightly | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Bootstrap | ||
uses: ./.github/actions/bootstrap | ||
- name: Release nightly | ||
env: | ||
PYPI_TOKEN: ${{ secrets.PYPI_TOKEN }} | ||
run: | | ||
./dev/publish-nightly.sh |
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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.