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

Jb package tester #184

Closed
wants to merge 5 commits into from
Closed
Changes from all commits
Commits
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
40 changes: 19 additions & 21 deletions .github/workflows/pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,8 @@ on:
- master
jobs:
build:
runs-on: ubuntu-latest
# runs-on: self-hosted
# runs-on: self-hosted-amd64-small-privileged
# runs-on: self-hosted-amd64-large-privileged-on-demand-storage
# runs-on: ubuntu-latest
runs-on: self-hosted
defaults:
run:
shell: bash -el {0}
Expand All @@ -28,30 +26,30 @@ jobs:
- name: Conda Info
run: |
conda info
- name: Anaconda Project Setup
run: |
anaconda-project prepare --env-spec default
- name: Linting
run: |
anaconda-project run lint
- name: Run Unit Tests
run: |
anaconda-project run test:unit
# - name: Anaconda Project Setup
# run: |
# anaconda-project prepare --env-spec default
# - name: Linting
# run: |
# anaconda-project run lint
# - name: Run Unit Tests
# run: |
# anaconda-project run test:unit
- name: Build Conda Package
run: |
mkdir build
conda build conda-recipe --output-folder build
- name: Run Integration Tests
run: |
anaconda-project run test:integration:slipstream
# - name: Run Integration Tests
# run: |
# anaconda-project run test:integration:slipstream
# - name: Run System Tests
# env:
# AE5_HOSTNAME: dev1.ae.anacondaconnect.com
# CI: true
# run: |
# anaconda-project run test:system
- name: Upload to anaconda.org (Dev Build)
env:
ANACONDA_TOKEN: ${{ secrets.ANACONDA_TOKEN }}
run: |
anaconda --verbose --token $ANACONDA_TOKEN upload --user ae5-admin --label dev build/noarch/ae5-tools-*.tar.bz2 --force
# - name: Upload to anaconda.org (Dev Build)
# env:
# ANACONDA_TOKEN: ${{ secrets.ANACONDA_TOKEN }}
# run: |
# anaconda --verbose --token $ANACONDA_TOKEN upload --user ae5-admin --label dev build/noarch/ae5-tools-*.tar.bz2 --force
Loading