Skip to content

Commit

Permalink
GHA updates
Browse files Browse the repository at this point in the history
  • Loading branch information
joshburt committed Dec 18, 2023
1 parent 0505fdf commit 227e6f2
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 12 deletions.
17 changes: 13 additions & 4 deletions .github/workflows/pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,19 @@ jobs:
- name: Linting
run: |
anaconda-project run lint
- name: Run Unit Tests
run: |
anaconda-project run test:unit
- name: Build the package
run: |
source $CONDA/etc/profile.d/conda.sh
rm -f $CONDA/conda-bld/noarch/ae5-tools-*.tar.bz2
conda install -y conda-build conda-verify anaconda-client
conda build conda-recipe
- name: Run Integration Tests
run: |
anaconda-project run test:integration:slipstream
- name: Run System Tests
env:
AE5_HOSTNAME: aip.anaconda.com
AE5_USERNAME: tooltest
Expand All @@ -24,10 +36,7 @@ jobs:
AE5_K8S_ENDPOINT: ssh:centos
AE5_K8S_PORT: 23456
run: |
source $CONDA/etc/profile.d/conda.sh
rm -f $CONDA/conda-bld/noarch/ae5-tools-*.tar.bz2
conda install -y conda-build conda-verify anaconda-client
conda build conda-recipe
anaconda-project run test:system
- name: Upload to anaconda.org (Dev Build)
env:
ANACONDA_TOKEN: ${{ secrets.ANACONDA_TOKEN }}
Expand Down
8 changes: 0 additions & 8 deletions .github/workflows/python-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,6 @@ jobs:
with:
fetch-depth: 0
- name: Build the package
env:
AE5_HOSTNAME: aip.anaconda.com
AE5_USERNAME: tooltest
AE5_PASSWORD: ${{ secrets.AE5_PASSWORD }}
AE5_ADMIN_USERNAME: admin
AE5_ADMIN_PASSWORD: ${{ secrets.AE5_ADMIN_PASSWORD }}
AE5_K8S_ENDPOINT: ssh:centos
AE5_K8S_PORT: 23456
run: |
source $CONDA/etc/profile.d/conda.sh
rm -f $CONDA/conda-bld/noarch/ae5-tools-*.tar.bz2
Expand Down
6 changes: 6 additions & 0 deletions anaconda-project.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,12 @@ commands:
env_spec: default
unix: py.test --cov=ae5_tools -v tests/integration --cov-append --cov-report=xml -vv

test:integration:slipstream:
env_spec: default
unix: |
conda install $CONDA/conda-bld/noarch/ae5-tools-*.tar.bz2
py.test --cov=ae5_tools -v tests/integration --cov-append --cov-report=xml -vv
test:system:
env_spec: default
unix: |
Expand Down

0 comments on commit 227e6f2

Please sign in to comment.