Skip to content

Commit

Permalink
#203: Apply path fixing solution to other workflow jobs
Browse files Browse the repository at this point in the history
- This commit has no effect on codecov path fixing, but it makes the entire workflow consistent in how the API is cloned onto the Actions runner
  • Loading branch information
MRichards99 committed Feb 2, 2021
1 parent 1d64040 commit f6a4853
Showing 1 changed file with 3 additions and 9 deletions.
12 changes: 3 additions & 9 deletions .github/workflows/ci-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -97,16 +97,14 @@ jobs:
architecture: x64
- name: Checkout DataGateway API
uses: actions/checkout@v2
with:
path: datagateway-api

- name: Install Nox
run: pip install nox==2020.8.22
- name: Install Poetry
run: pip install poetry==1.1.4

- name: Run Nox lint session
run: nox -s lint -f datagateway-api/noxfile.py
run: nox -s lint

formatting:
runs-on: ubuntu-16.04
Expand All @@ -119,16 +117,14 @@ jobs:
architecture: x64
- name: Checkout DataGateway API
uses: actions/checkout@v2
with:
path: datagateway-api

- name: Install Nox
run: pip install nox==2020.8.22
- name: Install Poetry
run: pip install poetry==1.1.4

- name: Run Nox black session
run: nox -s black -f datagateway-api/noxfile.py
run: nox -s black

safety:
runs-on: ubuntu-16.04
Expand All @@ -141,13 +137,11 @@ jobs:
architecture: x64
- name: Checkout DataGateway API
uses: actions/checkout@v2
with:
path: datagateway-api

- name: Install Nox
run: pip install nox==2020.8.22
- name: Install Poetry
run: pip install poetry==1.1.4

- name: Run Nox safety session
run: nox -s safety -f datagateway-api/noxfile.py
run: nox -s safety

0 comments on commit f6a4853

Please sign in to comment.