Skip to content

Commit

Permalink
moving tree into same job
Browse files Browse the repository at this point in the history
  • Loading branch information
havok2063 committed Nov 29, 2023
1 parent 060a804 commit ccd98b3
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,51 +6,51 @@ name: Build and Test
on: [push, pull_request]

jobs:
tree:
build:
runs-on: ubuntu-latest

steps:
- name: Clone sdss_access
uses: actions/checkout@v4

- name: Clone tree
uses: actions/checkout@v4
with:
repository: sdss/tree
path: tree

- name: Set up Python 3.9
uses: actions/setup-python@v4
with:
python-version: 3.9

- name: Install tree package
run: |
python -m pip install --upgrade pip
cd tree
pip install .
cd $GITHUB_WORKSPACE
build:
needs: tree
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- name: Set up Python 3.9
uses: actions/setup-python@v4
with:
python-version: 3.9
- name: Install dependencies
- name: Install access dependencies
run: |
python -m pip install --upgrade pip
pip install .[dev]
- name: Lint with flake8
run: |
pip install flake8
# stop the build if there are Python syntax errors or undefined names
flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics
# exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide
flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
- name: Setup SDSS-IV netrc
uses: extractions/netrc@v1
with:
machine: data.sdss.org
username: ${{ secrets.S4_USERNAME }}
password: ${{ secrets.S4_PASSWORD }}

- name: Setup SDSS-V netrc
uses: extractions/netrc@v1
with:
Expand Down

0 comments on commit ccd98b3

Please sign in to comment.