Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Run ci/cd tests on push to main #55

Merged
merged 34 commits into from
Jun 10, 2024
Merged
Show file tree
Hide file tree
Changes from 33 commits
Commits
Show all changes
34 commits
Select commit Hold shift + click to select a range
57edd74
added testing of loading data, creating graphs, and training model.
SimonKamuk May 22, 2024
92aa490
Merge branch 'mllam:main' into main
SimonKamuk May 22, 2024
4e17efb
added test to test name
SimonKamuk May 22, 2024
7fa7cdd
linting
SimonKamuk May 22, 2024
569d061
made create_mesh callable as python function with arguments.
SimonKamuk May 23, 2024
1ebe900
added github ci/cd for running tests with pytest
SimonKamuk May 23, 2024
0e96e88
removed coverage from test ci/cd
SimonKamuk May 23, 2024
2339ed0
fixed error in cicd
SimonKamuk May 23, 2024
5d3f834
removed astroid from requirements, causes codespell error, assuming i…
SimonKamuk May 23, 2024
8d733b7
simplified requirements
SimonKamuk May 23, 2024
7ee8821
removed commas in requirements
SimonKamuk May 23, 2024
9a5f83c
added downloading of test data from EWC using pooch
SimonKamuk May 24, 2024
c7d1d08
added pooch to requirements.txt
SimonKamuk May 24, 2024
2667b6c
updated test dataset
SimonKamuk May 24, 2024
0c7edd4
Disabled latex to enable running on github without having to install …
SimonKamuk May 27, 2024
9352949
only use latex if available
SimonKamuk May 27, 2024
4995de0
included change requests from leifdenby:
SimonKamuk May 28, 2024
d33180f
added comment
SimonKamuk May 28, 2024
fb72943
Merge branch 'mllam:main' into main
SimonKamuk May 30, 2024
e6c2c36
minor requested changes
SimonKamuk May 30, 2024
43558dc
Merge branch 'main' of github.com:SimonKamuk/neural-lam into feature_…
SimonKamuk May 30, 2024
3d77ac4
updated changelog, added cicd badges
SimonKamuk May 31, 2024
d390308
moved installation of torch-geometric from requirements to github tes…
SimonKamuk May 31, 2024
de4efba
changed name of unit test badge
SimonKamuk May 31, 2024
b0c4bed
added caching of test data
SimonKamuk Jun 3, 2024
4868db4
Merge branch 'main' of github.com:SimonKamuk/neural-lam into feature_…
SimonKamuk Jun 3, 2024
18e55a4
fix for caching
SimonKamuk Jun 3, 2024
4f75307
tried fix for caching test data
SimonKamuk Jun 3, 2024
aceb47c
updated changelog
SimonKamuk Jun 3, 2024
a6f8089
separated saving and restoring of cache
SimonKamuk Jun 3, 2024
561a26e
Merge branch 'main' of github.com:SimonKamuk/neural-lam into feature_…
SimonKamuk Jun 4, 2024
01f6713
set workflows to no longer ignore push to main. Changed ci/cd badges …
SimonKamuk Jun 6, 2024
39e6192
Merge branch 'main' of github.com:SimonKamuk/neural-lam into feature_…
SimonKamuk Jun 6, 2024
432bab9
Updated changelog to mention added running of tests on pushes to main
SimonKamuk Jun 10, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 1 addition & 3 deletions .github/workflows/pre-commit.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
name: Linting

on:
# trigger on pushes to any branch, but not main
# trigger on pushes to any branch
push:
branches-ignore:
- main
# and also on PRs to main
pull_request:
branches:
Expand Down
4 changes: 1 addition & 3 deletions .github/workflows/run_tests.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
name: Unit Tests

on:
# trigger on pushes to any branch, but not main
# trigger on pushes to any branch
push:
branches-ignore:
- main
# and also on PRs to main
pull_request:
branches:
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
![Linting](https://github.com/mllam/neural-lam/actions/workflows/pre-commit.yml/badge.svg)
![Automatic tests](https://github.com/mllam/neural-lam/actions/workflows/run_tests.yml/badge.svg)
![Linting](https://github.com/mllam/neural-lam/actions/workflows/pre-commit.yml/badge.svg?branch=main)
![Automatic tests](https://github.com/mllam/neural-lam/actions/workflows/run_tests.yml/badge.svg?branch=main)

<p align="middle">
<img src="figures/neural_lam_header.png" width="700">
Expand Down
Loading