Add ledger-feedstock to archive #854
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: check | |
on: | |
pull_request: | |
branches: | |
- main | |
env: | |
PYTHONUNBUFFERED: 1 | |
jobs: | |
check: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: conda-incubator/setup-miniconda@v2 | |
with: | |
activate-environment: cf | |
environment-file: environment.yml | |
auto-activate-base: true | |
miniforge-version: latest | |
miniforge-variant: Mambaforge | |
- name: Check packages exist on main (or label/broken) | |
shell: bash -el {0} | |
run: | | |
ls -1 broken/example.txt | |
ls -1 not_broken/example.txt | |
conda activate cf | |
python mark_broken.py check | |
- name: Check feedstocks exist for token reset | |
shell: bash -el {0} | |
run: | | |
ls -1 token_reset/example.txt | |
conda activate cf | |
python token_reset.py check | |
- name: Check feedstocks can be (un)archived | |
shell: bash -el {0} | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
run: | | |
ls -1 archive/example.txt | |
ls -1 unarchive/example.txt | |
conda activate cf | |
python archive_feedstock.py check |