Skip to content

Commit

Permalink
Update NEWS and GHA to include Stratgus in Broadsea
Browse files Browse the repository at this point in the history
  • Loading branch information
anthonysena committed Dec 3, 2024
1 parent 6a9fe84 commit 2e43dc6
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 33 deletions.
65 changes: 32 additions & 33 deletions .github/workflows/R_CMD_check_Hades.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -108,14 +108,14 @@ jobs:
)
covr::to_cobertura(cov)
shell: Rscript {0}

- uses: codecov/codecov-action@v4
if: runner.os == 'Linux'
with:
file: ./cobertura.xml
plugin: noop
disable_search: true
token: ${{ secrets.CODECOV_TOKEN }}
token: ${{ secrets.CODECOV_TOKEN }}

Release:
needs: R-CMD-Check
Expand Down Expand Up @@ -155,34 +155,33 @@ jobs:
draft: false
prerelease: false

# AGS: Commenting out until Strategus is in HADES
# - uses: r-lib/actions/setup-r@v2
# if: ${{ env.new_version != '' }}
#
# - name: Install drat
# if: ${{ env.new_version != '' }}
# run: |
# install.packages('drat')
# shell: Rscript {0}
#
# - name: Remove any tarballs that already exists
# if: ${{ env.new_version != '' }}
# run: |
# rm -f *.tar.gz
#
# - name: Download package tarball
# if: ${{ env.new_version != '' }}
# uses: actions/download-artifact@v4
# with:
# name: package_tarball
#
# - name: Push to drat
# if: ${{ env.new_version != '' }}
# run: |
# bash deploy.sh
#
# - name: Push to BroadSea
# if: ${{ env.new_version != '' }}
# run: |
# curl --data "build=true" -X POST https://registry.hub.docker.com/u/ohdsi/broadsea-methodslibrary/trigger/f0b51cec-4027-4781-9383-4b38b42dd4f5/
#
- uses: r-lib/actions/setup-r@v2
if: ${{ env.new_version != '' }}

- name: Install drat
if: ${{ env.new_version != '' }}
run: |
install.packages('drat')
shell: Rscript {0}

- name: Remove any tarballs that already exists
if: ${{ env.new_version != '' }}
run: |
rm -f *.tar.gz
- name: Download package tarball
if: ${{ env.new_version != '' }}
uses: actions/download-artifact@v4
with:
name: package_tarball

- name: Push to drat
if: ${{ env.new_version != '' }}
run: |
bash deploy.sh
- name: Push to BroadSea
if: ${{ env.new_version != '' }}
run: |
curl --data "build=true" -X POST https://registry.hub.docker.com/u/ohdsi/broadsea-methodslibrary/trigger/f0b51cec-4027-4781-9383-4b38b42dd4f5/
4 changes: 4 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
Strategus 1.1.1
===============
- Fixes R CMD note and updates documentation for inclusion into HADES

Strategus 1.1.0
===============
- Inject cohort schema and table into `createCohortBasedCovariateSettings` (#181)
Expand Down

0 comments on commit 2e43dc6

Please sign in to comment.