Forced refresh method #1074
Workflow file for this run
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: Pull Request | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
jobs: | |
node: | |
uses: nasa-gcn/.github/.github/workflows/node.yml@main | |
python: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Check for Lint | |
uses: chartboost/ruff-action@v1 | |
- name: Check Formatting | |
uses: chartboost/ruff-action@v1 | |
with: | |
args: format --check | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: '3.11' | |
- name: Pip Install | |
run: pip install -r requirements.txt | |
- name: Pytest | |
run: pytest python | |
- name: MyPy | |
run: mypy python | |
- name: Upload to Codecov.io | |
uses: codecov/codecov-action@v3 | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install Node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version: '18' | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: '3.11' | |
- name: Set up QEMU | |
uses: docker/setup-qemu-action@v3 | |
with: | |
platforms: arm64 | |
- name: NPM Install | |
run: npm ci | |
- name: Build | |
run: npm run build | |
- name: Install Python dependencies | |
run: docker run --rm --platform linux/arm64 -v $(pwd):/src python:3.11 sh -c 'apt-get update && apt-get -y install --no-install-recommends npm && cd src && npx arc hydrate' |