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

Adding Workflow to run Integration Tests #3213

Merged
merged 45 commits into from
Jan 18, 2024
Merged
Changes from 8 commits
Commits
Show all changes
45 commits
Select commit Hold shift + click to select a range
b442c86
added workflow for integration testing
meetagrawal09 Sep 6, 2023
417b94b
added manual trigger, updated date
meetagrawal09 Sep 7, 2023
57cc8de
run on PR or push(for debugging)
meetagrawal09 Sep 9, 2023
d3ca89b
updated syntax
meetagrawal09 Sep 9, 2023
b41e35f
added step : install packages
meetagrawal09 Sep 10, 2023
050f9e9
moved to pecan/base
meetagrawal09 Sep 14, 2023
07e3cec
updated image
meetagrawal09 Sep 14, 2023
7e11c97
added download for mockery
meetagrawal09 Sep 14, 2023
bf479d7
Merge branch 'develop' into ci-integrationtests
meetagrawal09 Sep 27, 2023
b4f2088
removed download mockery
meetagrawal09 Sep 27, 2023
8a72233
Merge branch 'develop' into ci-integrationtests
meetagrawal09 Oct 3, 2023
c4de3c6
Merge branch 'develop' into ci-integrationtests
meetagrawal09 Oct 4, 2023
6556c80
added python support
meetagrawal09 Oct 4, 2023
e288f68
Changed py version
meetagrawal09 Oct 4, 2023
393f0ae
Update integration-test.yml
meetagrawal09 Oct 4, 2023
042fe0a
fixed typo
meetagrawal09 Oct 6, 2023
1c1c883
Merge branch 'develop' into ci-integrationtests
meetagrawal09 Oct 26, 2023
eba5b42
CDS API setup
Oct 26, 2023
6675a5b
setup python
Oct 26, 2023
f5fec1c
installing dependencies
Oct 26, 2023
a3e8164
updated version
Oct 26, 2023
082b477
updated version
Oct 26, 2023
add8d2d
Merge branch 'develop' into ci-integrationtests
meetagrawal09 Nov 4, 2023
448283f
pip setup
meetagrawal09 Nov 13, 2023
aa99cc6
Merge branch 'develop' into ci-integrationtests
meetagrawal09 Nov 13, 2023
b9578f0
Update integration-test.yml
meetagrawal09 Nov 13, 2023
1a7b928
update os version
meetagrawal09 Nov 13, 2023
7a98d86
Update integration-test.yml
meetagrawal09 Nov 13, 2023
0425088
Update integration-test.yml
meetagrawal09 Nov 13, 2023
c25dcfe
Update integration-test.yml
meetagrawal09 Nov 13, 2023
8e2fef4
Update integration-test.yml
meetagrawal09 Nov 13, 2023
f934845
Update integration-test.yml
meetagrawal09 Nov 13, 2023
476e222
Update integration-test.yml
meetagrawal09 Nov 13, 2023
50f52cf
Update integration-test.yml
meetagrawal09 Nov 13, 2023
34173eb
Update .github/workflows/integration-test.yml
meetagrawal09 Nov 14, 2023
2539099
Update integration-test.yml
meetagrawal09 Nov 14, 2023
61d440d
Merge branch 'develop' into ci-integrationtests
meetagrawal09 Dec 25, 2023
2c12236
Skip download.ERA5
meetagrawal09 Dec 26, 2023
ba175e1
Fixed conditional
meetagrawal09 Dec 26, 2023
19557e8
Update integration-test.yml
meetagrawal09 Dec 26, 2023
881c8ff
Update integration-test.yml
meetagrawal09 Dec 26, 2023
85fb8b7
Update integration-test.yml
meetagrawal09 Dec 26, 2023
4c07f4f
Removed workflow trigger on push and pull
meetagrawal09 Dec 26, 2023
f03c9cd
Update integration-test.yml
meetagrawal09 Dec 28, 2023
015b9a4
Merge branch 'develop' into ci-integrationtests
meetagrawal09 Jan 18, 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
35 changes: 35 additions & 0 deletions .github/workflows/integration-test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name : Integration Tests
on :
# allow manual triggering
workflow_dispatch:

# for debugging
push:
pull_request:

schedule:
# run Thursday 4:30 AM UTC
- cron: '30 4 * * 4'
jobs:
test:
runs-on: ubuntu-latest

env:
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}

container:
image: pecan/base:develop

steps:
- name: Checkout source code
uses: actions/checkout@v3

- name: Install mockery
run: |
Rscript -e "install.packages('mockery', repos='https://ftp.belnet.be/mirror/CRAN')"
meetagrawal09 marked this conversation as resolved.
Show resolved Hide resolved

- name: Run tests
run: |
for FILE in modules/data.atmosphere/inst/integrationTests/*; do
Rscript $FILE;
done
meetagrawal09 marked this conversation as resolved.
Show resolved Hide resolved